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

How to resolve Analytics Agent startup failure

Symptoms

 The Analytics Agent startup fails with the following error in the Analytics Agent logs:

 

[2017-06-02T13:09:47,657+02:00]  [ERROR]  [analytics-agent-sync-thread-0]  [c.a.a.agent.sync.ErrorMessageHelper]  Analytics agent failed to connect to the controller registration endpoint.
com.appdynamics.analytics.shared.rest.exceptions.ClientException: Could not execute request to https://<controller host>/rest/analytics/agent/register
...
...
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

Diagnosis

The issue occurs when using a self-signed certificate for the Controller.

 

The Analytics Agent uses a truststore for the JRE to validate the certificate of the connecting server. The truststore does not have self-signed certificates added to the store by default.

 

Solution

Import the client certificate to the JRE truststore, which is located in the Java directory used by the Analytics Agentby default.

 

Example: JAVA_HOME/lib/security/cacerts

 

Version history
Last update:
‎03-01-2019 10:33 AM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos