cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

In what order does a Java Agent look for a truststore location?

 
  1. If the path (including name) of the agent truststore is specified using the <controller-keystore-filename> element in the agent configuration file controller-info.xmlthen agent loads that trustore.
  2. If not specified in thecontroller-info.xml, the Java Agent then looks for the truststore file with name cacerts.jks in <agent_home>/verX.X.X.X/conf directory. 
    • Note: The permissions on the cacerts.jks file needs to be 644.
  3. If the cacerts.jks file does not exist in <agent_home>/versionXXXX/conf, but the application specifies truststore using a JVM argument -Djavax.net.ssl.trustStore, then the Java Agent loads that truststore.
  4. If the Java Agent can not find the certs in any of the above, it will load the default Java truststore of the JVM being instrumented, <JRE_HOME>/lib/security/cacerts (password changeit).
 
Related Links:
Version history
Last update:
‎03-08-2018 01:16 AM
Updated by:
Labels (1)
Tags (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.