Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

To ensure correct operation of the file gateway the computer must have all the necessary cryptographic software installed (see Technical requirements).

Additionally, when using the GOST certificate you need to add the certificates to the system repository. To do this:

  1.  open Сertificate storage;
  2. click the Service button on the top bar;
  3. choose Export certificates to the System repository in the menu that opens.
Section
Column

Installing via Console

To install FG:

  • Copy the files from the Redist folder to the destination folder, eg. C:\FileGatewaySvc\.
Column
width400px
Panel
bgColor#F5F5F5
borderStyledotted

On the page:

Table of Contents

  • Сonfigure the service by the editing the svc.config file.To navigate to the file svc.config you need to paste %LOCALAPPDATA% into the Windows Explorer and press Enter. The parametrs are described in the File gateway settings section.

  • Specify in the svc.config file the path to the folder with logs  (e.g. C:\FileGatewaySvc\Logs):

    Code Block
    <fileGateway>
    ...
    <logging logDirectory="C:\FileGatewaySvc\Logs\" ... />
    ...
    </fileGateway>
  • Specify in the svc.config file the path to the database file (e.g. C:\FileGatewaySvc\Data\Database.db3):

    Code Block
    <fileGateway>
    ...
    <database dbPath="C:\FileGatewaySvc\Data\Database.db3" ... />
    ...
    </fileGateway>
  • Prepare the credentials of the user on whose behalf the service will run (eg. VC_USER/SVC_USER_PASSWORD). The user must have administrator rights to work correctly with the cryptography. Also the certificates must be configured.

  • Allow access to the HTTP protocol. Run the command line as an administrator:

    Code Block
    netsh http add urlacl url=http://+:8080/ user=SVC_USER
    To change the port:
    <fileGateway>
    ...
    <webInterface listenUrl="http://localhost:8080" ... />
    ...
    </fileGateway>
    Note

    Skip this step if you do not want to use the web service interface.

  • Install the service. Run the command line as an administrator:

    Code Block
    filegatewaysvc install -username:SVC_USER -password:SVC_USER_PASSWORD -
    -autostart
  • Provide access to the folders:

    • destination folder (напр. C:\FileGatewaySvc\).

    • log folder (напр. C:\FileGatewaySvc\Logs\).

    • the folder with database (напр. C:\FileGatewaySvc\Data\).

  • Configure the proxy server (see Proxy server configuration).

  • Run File Gateway (see Running File Gateway).

The Hardware id will be installedThis app is used to generate hardware code of the computer on the basis of which a licence is granted to use File gateway (see Licensing).

Note

When you first start the service, it is recommended to run the service via console.

Installing via the Setup Wizard window

Setting up file gateway starts with running the NSD.FileGateway.Setup file. This will open the Setup Wizard window, in which you need to click Next (Fig. 1).

...