Adding an Alias to an Agent

Before you generate a certificate for an agent, you must add an alias to the agent.

To add an alias to an agent:

Note: You must have administrative privileges to perform this procedure.

  1. Make sure your agent machine JAVA_HOME environment variable points to the directory where java is installed.

  2. Open a shell and navigate to the agent install location \conf directory.

  3. From within the agent's [install_location]\conf directory, run the following command:
    keytool -genkeypair -dname "cn=[alias_name]" -alias [alias_name]
     -keypass changeit -keystore agent.keystore -storepass changeit
     -keyalg RSA -keysize 1024 -validity 7305

    where [alias_name] is the name you give the agent alias; we recommend using the agent's name.

  4. To check the result, run the command:

    keytool -list -keystore agent.keystore