SSL communication between the agent and the Enterprise Manager can be enabled by specifying relevant SSL Communication Properties in the IntroscopeAgent.profile. Listed below are some of the properties where you can specify the keystore, truststore, and their passwords:
APM Java Agent 10.x
While there is no option in the IntroscopeAgent.profile to enable encryption for the password properties (like how it can be done on the EM side by setting properties introscope.enterprisemanager.trustpassword.channel2.plaintextpassword=true), we do perform password decryption checking on these passwords in the code.
In this case, you can workaround the need by manually encrypting the password using the PropertiesUtil.jar in the <Agent_home>\tools directory, then specify the encrypted value in the agent profile.
For example, below are the steps involved:
1. Encrypt the password with PropertiesUtil.jar:
C:\Program Files\Java\jre7\bin>java -jar "<agent_home>\tools\PropertiesUtil.jar" encrypt password
<encrypted_value>
2. Specify the encrypted value in the following properties of the IntroscopeAgent.profile:
agentManager.trustStorePassword.1=<encrypted_value>
agentManager.keystorePassword.1=<encrypted_value>
Note: The PropertiesUtil.jar can be obtained from the StandAloneAgentInstaller