Installing the Proxy

Installation of the Proxy is carried out in several steps.

These installation instructions apply to Windows and UNIX.

Memory Requirements

Component Required memory per 1000 connected agents
Client ~ 115 MB
Server ~ 115 MB

Workflow

Closed1. Decoding the Supplied File

Use the program UCYBCRYP.EXE to decrypt the file proxy.jar.ucc. You will find it in the folder IMAGE:\TOOLS\ENCRYPT in the Automation Engine folder. Now call the program through the command line with the following parameters:

UCYBCRYP.EXE -d -f proxy.jar.ucc -l License file

The license file is supplied together with the Automation Engine itself (customer number.TXT).

The result is the file proxy.jar.

Before attempting the decryption process, please verify that the relevant entry for PROXY is included in the license file.

Closed2. Java Runtime

Use the following command to check the Java VM version:

java -version

Pay attention to the correct order of the Java directories in the %PATH% (Windows) and $PATH (UNIX) environment variable if multiple JREs or SDKs are installed. The first Java VM is always used.

The Compatibility Matrix informs you about the Java version you require. You can download the latest version from http://java.oracle.com.

Closed3. Installing the Proxy

The following actions are required to operate two instances of the Proxy: the client Proxy and the server Proxy.

This installation step must be performed on the computer on which the client Proxy should run as well as on each computer on which the server Proxy should run.

It is only necessary to copy the *.ini file to the client Proxy directory. The server Proxy does not require an *.ini file.

Closed4. Creating the SSL Certificate

SSL encryption is required for the connections between client and server Proxy. To do so, you must create a certificate. Connections between client and server Proxy are only accepted if both have the same certificate.

SSL authentication is required for the connections between client and server Proxy and cannot be deactivated.

To create the SSL certificate:

  1. Use the Java keytool in the bin folder of the Java program directory to create a self-signed certificate.
  2. Example:

    C:\Program Files\Java\jre7\bin\keytool.exe

  3. The following command creates the keystore.jks file that saves a certificate, which is valid for 365 days. The KeyStore file is protected by the password "passwd."
  4. keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass passwd -validity 365
    -keysize 2048

    The password for the keystore.jks may be encrypted, using the UCYBCRYP.EXE from the Utilities in Automation Engine

  5. Next, answer the questions about the company and press ENTER to confirm.
  6. Example:

    What is your first and last name?
    [Unknown]: www.automic.com
    What is the name of your organizational unit?
    [Unknown]: Development
    What is the name of your organization?
    [Unknown]: Automic
    What is the name of your city or town?
    [Unknown]: Vienna
    What is the name of your state or province?
    [Unknown]: Vienna
    What is the two-letter country code for this unit?
    [Unknown]: AT
    Is CN=www.automic.com, OU=Development, O=Automic, L=Vienna, ST=Vienna, C=AT
    correct?
    [no]: yes

    Enter key password for <selfsigned>
    (RETURN if same as KeyStore password):

You shouldn't use a certificate or key here that is part of your company's key infrastructure. The data typed by the user at this point is not being verified.

After the connection is established, the parties use a negotiated secret key for symmetric encryption. Any malicious party that obtains the certificate after the connection is set up, won't be able to decrypt the communication, as the symmetric key is random and renegotiated on each SSL connection setup.

Closed5. Configuring the Client Proxy

Modify the client Proxy's *.ini file accordingly.

Closed6. Starting the Server Proxy

Start the Proxy instance running on the agent side, APIs, etc. (= server Proxy) by using the following command line parameters:

Example:

java -cp proxy.jar com.uc4.proxy.Server -keyStore=keystore.jks -keyStorePwd=passwd -servicePort=4321

Closed7. Starting the Client Proxy (as an agent)

Do one of the following:

The client Proxy creates a log file immediately after starting and determines whether it is possible to establish a connection to a communication process (CP). The client Proxy connects to the server Proxy upon successful connection to the CP.

Use the Automic ServiceManager to start the client Proxy and the server Proxy as a service.

As of v2.0, starting the client Proxy will result in a so-called technical connection to the AE system. This means, the client Proxy connects as an agent to the AE system and the respective communication process. This change has the advantage that all online client Proxies are visible in the Administration perspective of the AE in the agent section.