Install the Edge Encryption proxy server (command line installer)
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
Create the installation directory.
Download the Edge Encryption proxy archive file to the installation directory.
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.
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. |
| -s | install\_path | Path to the directory or folder where the new Edge proxy is installed \(the destination directory\). If the directory does not already exist, this command will create it. If it does exist it must not contain an existing installation. If this option is skipped, the default folder name is derived from the proxy\_name and port \(for example, `EdgeProxy_443`\), in the current directory. |
**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`
If installing on a Windows machine, install the Edge Encryption proxy as a Windows service.
Change the name of the service by opening the
conf/wrapper.conffile 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.
Save and close the file.
Open the Windows Command Prompt and
cdtoServerName_port/bin.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.
Parent Topic:Install the Edge Encryption proxy server using the command line installer
Previous topic:Install the Edge Encryption proxy server using the command line installer
Next topic:Create and configure the RSA key pair for the digital signature