Install the Edge Encryption proxy server (command line installer)

  • Release version: Washingtondc
  • Updated February 20, 2025
  • 2 minutes to read
  • Install an Edge Encryption proxy on a 64-bit Windows or Linux computer.

    Before you begin

    Role required: admin

    Java version 11.0.6 or later in the 11.x version series is required to run the installer.

    About this task

    Install the Edge Encryption proxy server on a machine in your network using the appropriate command for your target machine. If installing the Edge Encryption proxy server on a Windows machine, you must additionally install the proxy server as a Windows service.

    When you upgrade the Edge Encryption proxy server, the system backs up the old proxy in the backup.dist-upgrade-<timestamp> directory under the current installation directory. The backup directory is generated during the upgrade process and stores the old proxy information.

    When you run an upgrade via the command line, a dist-upgrade.log may be generated in the directory where the command runs. The dist-upgrade.log contains logs for the upgrade process.

    In case of a failed upgrade, the system creates a failed-backup.dist-upgrade-<timestamp> directory. In addition, logs/wrapper.log in the original proxy directory may also contain failure information.

    Procedure

    1. Create the installation directory.
    2. Download the Edge Encryption proxy archive file to the installation directory.
    3. Open the terminal and change to the installation directory.
      Note:
      If installing on a Windows machine, you must start the Windows Command Prompt with administrator privileges.
    4. Run this command for the target machine and change the variables according to your configuration: java -jar edgeencryption-<version>-all.jar -m install –n <proxy_name> --instancehost <host> -p <port> --protocol https –s <install_path>
      Option Variable Description
      none version Version number of the Edge Encryption proxy being used to perform the current operation.
      -m mode Runtime mode. Options are "install" for a new Edge proxy server or “dist-upgrade” to upgrade an existing Edge proxy server.
      -n proxy_name Name of the installed Edge Encryption proxy server. Use a unique proxy_name to be able to identify specific proxy instances.
      --instancehost host The host name of your ServiceNow instance (for example, mycompany.service-now.com).
      -p port Port your ServiceNow instance listens on. Typically secure HTTPS connections listen on port 443 and HTTP connections listen on port 80.
      --protocol protocol Protocol the installed Edge proxy uses when connecting to the backend ServiceNow host. This is typically HTTPS (preferred for secure TLS connections) or HTTP (connections without TLS) depending on which protocol the host instance supports.
      Note:
      Do not copy and paste commands from the browser. Occasionally, copy/paste operations cause unexpected characters to be pasted to the target machine and results in the command being executed incorrectly. It is best to type out the command by hand using documentation as a reference.

      To see the help screen, execute this command with the –help option: java -jar edgeencryption-<version>-all.jar --help

    5. If installing on a Windows machine, install the Edge Encryption proxy as a Windows service.
      1. Optional: Change the name of the service by opening the conf/wrapper.conf file on the new proxy and setting the properties in the following table.
        Property Description
        wrapper.ntservice.name Unique name of the Edge Encryption proxy service.
        wrapper.ntservice.displayname Edge Encryption proxy service display name.
        wrapper.ntservice.description (Optional) Proxy server description.

        If this step is not performed, the Edge Encryption proxy service is installed under the name Edge Encryption.

      2. Save and close the file.
      3. Open the Windows Command Prompt and cd to ServerName_port/bin.
      4. Execute edgeencryption.bat install.

    Result

    The ProxyName_port directory is created in the current directory. The edgeencryption.properties file is updated with the host, port, and protocol values from the command line.