Installing Resilient Package (RP) Proxy on Linux or Unix and Windows

Set up the RP Proxy to cache Resilient Packages. This component helps reduce the processing load on the upstream server when a lot of protectors want to export packages.

The RP Proxy downloads communication certificates from an upstream server during the installation. The upstream server can be an Enterprise Security Administrator (ESA) or a Team Edition server. The RP Proxy then caches the resilient packages that it retrieves from the upstream server and serves them to the protectors. The following section describes the steps to install the RP Proxy on Linux or Unix and Windows.

Installing RP Proxy on Linux or Unix

The following section describes the steps to install the RP Proxy on a Linux or Unix platform using the Interactive or Silent mode of installation.

By default, the RP Proxy is installed in the /opt/protegrity directory. You can choose to install the RP Proxy in a different directory by specifying the -d or --dir argument in the installation command. If you change the base installation directory, then the installation path will also change accordingly.

Use the --help argument if you need any help with installing the RP Proxy, as shown in the following command.

./pty-rpproxy-setup-linux64-<version>.sh --help

The following snippet displays the output.

Install:
./pty-rpproxy-setup-linux64-<version>.sh (-u <user> -p <password> | -t <token> | --nocert) [-h <hostname>] [--port <port>] [-d <dir>] [-k]
 
Options:
 -u      user with the Export Certificates role or workbench_package_export_dynamic permission
 -p      password for user with the Export Certificates role or workbench_package_export_dynamic permission
 -t      token with the Export Certificates role or workbench_package_export_dynamic permission
 -h      host or IP of the upstream server
 --port  port to connect to
 -r      uri that provides certificates
 -d      local directory where certificates are stored
 -k      insecure, do not validate certificates

Important: The -t or --token parameter is currently not applicable.

Installing RP Proxy on Linux or Unix using Interactive Mode

To install the RP Proxy on a Linux or Unix platform using the Interactive mode:

  1. Run the RP Proxy installer using the following command.

    ./pty-rpproxy-setup-linux64-<version>.sh
    

    The prompt to enter the upstream hostname or IP address appears.

    Please enter upstream host name or IP address
    []:
    
  2. Type the upstream server Host Name or IP Address, and press ENTER.

    The prompt to enter the username for downloading certificates appears.

    Please enter the user name for downloading certificates
    []:
    
  3. Type the username for downloading the certificates, and press ENTER.

    The prompt to enter the password for downloading the certificates appears.

    Please enter the password for downloading certificates
    []:
    
  4. Type the password and press ENTER to extract files and validate certificate.

    The Certificate validation failed message appears with the prompt to continue installation in insecure mode.

    Set SSL_CERT_DIR or SSL_CERT_FILE environment variable to specify CA certificates.
    Do you want to continue in insecure mode (not recommended)? (y/n):
    
  5. Enter y to continue installation in insecure mode.

The certificates are extracted, downloaded, and stored under /opt/protegrity/rpproxy/data folder. The Resilient Package Proxy installed successfully message appears.

  1. If you have installed the RP Proxy using the --nocert parameter, then the certificates are not downloaded during the installation. To manually install the certificates to the /opt/protegrity/rpproxy/data directory of the RP Proxy, perform the following steps.

    i. Navigate to the /opt/protegrity/rpproxy/bin directory and run the following command.

    GetCertificates (-u <username> -p <password> | -t <token>) [-h <hostname>] [--port <port>] [-r <uri>] [-d <directory>] [-k]
    

    This initiates a secure communication between the RP Proxy and the upstream server. The following table provides details for the parameters.

    ParameterDescription
    -uUser with the Export Certificates role or workbench_package_export_dynamic permission
    -pPassword for user with the Export Certificates role or workbench_package_export_dynamic permission
    -tToken with the Export Certificates role or workbench_package_export_dynamic permission
    -hHost or IP of the upstream server
    –portPort to connect to
    -ruri that provides certificates
    -dLocal directory where certificates are stored
    -kInsecure, do not validate certificates

    ii. Enter the password for the upstream server user.

    iii. Verify that the following files have been copied to the /opt/protegrity/rpproxy/data directory:

    • CA.pem
    • cert.key
    • cert.pem
    • secret.txt

    Start the RP Proxy by using the following command.

    /opt/protegrity/rpproxy/bin/rpproxyctrl start
    

    The RP Proxy is successfully installed.

Installing RP Proxy on Linux or Unix using Silent Mode

You can also execute the RP Proxy installer without any manual intervention, which is also known as the Silent mode of installation. The following parameters must be provided to execute the installer in the Silent mode.

ParameterDescription
-h or --hostHost or IP address of the upstream server that is providing the resilient packages.
-u or --userThe name of the user with the Export Certificates role or workbench_package_export_dynamic permission.
-p or --passwordThe password of the user with the Export Certificates role or workbench_package_export_dynamic permission.
--portPort number of the upstream server that is providing the resilient packages. The default port number is 25400.
-d or --dirSpecifies the installation directory, which is an optional parameter. If the installation directory is not specified, then the installation path is the default directory, which is /opt/protegrity.

At the command prompt, type the following command from the installer directory.

./pty-rpproxy-setup-linux64-<version>.sh (-u <user> -p <password>) [-h <host>] [--port <port>] [-k]

If you want to install the RP Proxy in a directory other than the default directory, then you can add the -d parameter to the command to specify the directory. The following command displays a sample snippet.

./pty-rpproxy-setup-linux64-<version>.sh (-u <user> -p <password>) [-h <host>] [--port <port>] [-d <dir>] [-k]

Installing RP Proxy on Windows

The following section describes the steps to install the RP Proxy on a Windows platform using the Windows wizard or through silent installation.

When you install the RP Proxy, the system automatically sets up a directory structure with the required files in the ..<installation_dir>\rpproxy directory.

Installing RP Proxy on Windows using the Windows Wizard

To install the RP Proxy on a Windows platform using the Windows wizard:

  1. Double-click or run the pty-rpproxy-setup-<OS>-<version>.exe file. The Setup Wizard appears.

  2. Click Next. The screen to specify the RP Proxy location appears.

  3. Browse to the directory in which you want to install the RP Proxy, or retain the default location. It is recommended to retain the default location.

  4. Click Next.

    The Proxy config screen appears.

  5. Specify the following details.

    ParameterDescription
    IP/hostnameHost name or IP address of the upstream server that is providing the resilient packages.
    PortPort number of the upstream server that is providing the resilient packages.
    The default value is 25400.
    UserUser with the Export Certificates role or workbench_package_export_dynamic permission.
    This is an optional parameter.
    PasswordPassword for user with the Export Certificates role or workbench_package_export_dynamic permission.
    This is an optional parameter.
    Download certificates in insecure modeSelect the check box to download the certificates in insecure mode.
    It is not recommended by Protegrity.

    Note: Ensure that the upstream server is up and running to enable automatic downloading of certificates.

  6. Click Next.

    The Ready to Install screen appears.

  7. Click Install.

    The Windows wizard installs the RP Proxy on your machine.

  8. Click Finish to close the rpproxy Setup Wizard and complete the installation.

    The directories are created under the installation directory that was defined and the installation files are installed in these directories.

  9. If you have not specified the user name and password in the Proxy config screen, then the certificates are not downloaded during the installation. To manually install the certificates to the <installation_dir>\rpproxy\data directory of the RP Proxy, perform the following steps.

    i. Navigate to the <installation_dir>\rpproxy\bin directory and run the following command.

    GetCertificates.bat (-u <username> -p <password> | -t <token>) [-h <hostname>] [--port <port>] [-r <uri>] [-d <directory>] [-k]
    

    This initiates a secure communication between the RP Proxy and the upstream server. The following table provides details for the parameters.

    ParameterDescription
    -uUser with the Export Certificates role or workbench_package_export_dynamic permission
    -pPassword for user with the Export Certificates role or workbench_package_export_dynamic permission
    -tToken with the Export Certificates role or workbench_package_export_dynamic permission
    -hHost or IP of the upstream server
    –portPort to connect to
    -ruri that provides certificates
    -dLocal directory where certificates are stored
    -kInsecure, do not validate certificates

    ii. Verify that the following files have been copied to the <installation_dir>\rpproxy\data directory:

    • CA.pem
    • cert.key
    • cert.pem
    • secret.txt

    iii. Restart the rpproxy service from the Windows Task Manager after editing the file.

Installing RP Proxy on Windows using Silent Mode

You can also execute the RP Proxy installer without any manual intervention, which is also known as the Silent mode of installation. The following parameters must be provided to execute the installer in the Silent Mode.

ParameterDescription
--hostHost name or IP address of the upstream server that is providing the resilient packages.
--portPort number of the upstream server that is providing the resilient packages.
The default value is 25400.
--userUser with the Export Certificates role or workbench_package_export_dynamic permission.
--passwordPassword for user with the Export Certificates role or workbench_package_export_dynamic permission.
--dirInstallation directory of the RP Proxy, which is optional. If the installation directory is not specified, then the installation path is the default directory, which is the ..<installation_dir>\rpproxy directory.

At the command prompt, type the following command from the installation directory.

.\pty-rpproxy-setup-<OS>-<version>.exe /SP --host <ip address> --port <port number> --user <user name> --password <user password> -k

To install the RP Proxy in a directory other than the default directory, add the --dir parameter to the command to specify the RP Proxy installation directory. The following snippet displays a sample command.

.\pty-rpproxy-setup-<OS>-<version>.exe /SP --host <ip address> --port <port number> --user <user name> --password <user password> --dir <RP Proxy installation directory> -k

Uninstalling the RP Proxy

  1. Navigate to the <installation_dir>\rpproxy\bin directory.

  2. Double-click the uninstall.exe file.

    The Uninstall rpproxy dialog box appears. A message appears asking you to confirm whether you want to uninstall the RP Proxy.

  3. Click Yes. The RP Proxy and all its components are uninstalled.

Last modified : October 21, 2026