Agents › DevTest Java Agent › Java Agent Security › Configure the Java Agent to Use SSL
Configure the Java Agent to Use SSL
You can use the Secure Sockets Layer (SSL) to secure communication between the agent and the broker.
The broker inherits the settings that the registry has for SSL. The agent uses the same encrypted password and the same keystore.
Choose one of the following approaches.
Default Keystore
This approach uses the default keystore in DevTest.
Follow these steps:
- Open the local.properties file in the LISA_HOME directory and uncomment the following line:
lisa.net.default.protocol=ssl
- Save the local.properties file.
- Start or restart the registry.
- When specifying the broker URL, use the ssl scheme. For example:
ssl://localhost:2009
Custom Keystore
This approach is based on a custom keystore.
Note: For detailed information about the DevTest Portal, see Using CA Continuous Application Insight.
Follow these steps:
- Configure a custom keystore by following the instructions in Using SSL to Secure Communication.
- Place the keystore in the LISA_HOME\agent directory.
- Open the DevTest Portal.
- Select Settings, Agents in the left navigation pane.
- In the left portion, select the agent.
- Click the Settings tab.
- Set the following security properties to configure a custom keystore that mirrors the DevTest properties. You can copy the encrypted passwords from the local.properties file.
- Keystore location
- Keystore password (encrypted)
- Truststore location
- Truststore password (encrypted)
- In the left portion, select the broker.
- Set the same properties as for the agent. The path to the keystore will be different.
- When you specify the broker URL, use the ssl scheme. For example:
ssl://localhost:2009
Copyright © 2014 CA Technologies.
All rights reserved.
|
|