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.
When trying to enable EUM for an application from the EUM configuration window, we get the following error:
Error The server encountered an internal error () that prevented it from fulfilling this request.
After analyzing the server.log file on the Controller machine we can see the below exceptions while connecting to EUM:
Communication failure with service (https://agg.eum-appdynamics.com/v2/account/xxxxxxxxxxxxxxxxxxxx/license/terms): javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
The above error occurs when the Controller trust store does not have the EUM client certificate, and the validation fails.
Follow the below steps to download the EUM certificate and import it to the Controller trust store:
https://agg.eum-appdynamics.com/eumaggregator/get-version
https://<EUMHost>:7002/eumaggregator/get-version
keytool -J-Dhttps.proxyHost=<proxy_host> -J-Dhttps.proxyPort=<proxy_port> -printcert -rfc -sslserver <eum_host>:<eum_ssl_port> 2>/dev/null > certs.pem
-J-Dhttps.proxyHost=<proxy_host> -J-Dhttps.proxyPort=<proxy_port>
The certs.pem
file generated using this command may contain multiple certs presented by the server (server cert, proxy cert, etc).
Save individual certificate into a separate file like file1.pem, file2.pem, etc.
The individual certs will be enclosed as such:
-----BEGIN CERTIFICATE-----
.....
-----END CERTIFICATE-----
<AppDynamicsHome>/appserver/glassfish/domains/domain1/config
directory. Use the following key tool command to import the certificate to the Controller trust store:$JAVA_HOME/bin/keytool -import -trustcacerts -alias <alias> -file <certificate file> -keystore cacerts.jks
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form