Error while Java Application connectivity for APM server

co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Event handling failure
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alert.createSSLException(Unknown Source) ~[?:?]
at sun.security.ssl.TransportContext.fatal(Unknown Source) ~[?:?]

I am getting this as an error while connected with APM server can you help us to fix this issue

Hi @smart_admin1 ,

Can you describe your setup in more detail please ?

  • what agent version is used ?
  • what is the agent configuration ?
  • what is the apm-server configuration ?
  • does apm-server is hosted on Elastic cloud or self-hosted ? If self-hosted, do you use self-signed certificates ?

From the part of the stack trace that you provided, this looks like a certificate validation issue on the client (on Java agent side) that is unable to communicate with apm-server, but providing more details would be required for further investigation.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.