Skip to main content

JDBC connector throws “Cannot conclude ssl handshake. Cause: PKIX path building failed” error.

  • July 12, 2023
  • 0 replies
  • 1146 views

Forum|alt.badge.img

The “Cannot conclude ssl handshake. Cause: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.” error message denotes that the certificate authority for the SSL Certificate is not being trusted by your Java Key Store. 

Solution: You should update to a more recent version of Java. 

Workaround: The simplest way to bypass this issue is to set the SSLServerCert connectionproperty to '*'. However, this method is not secure and often recommended for testing rather than production, as it basically tells the driver to accept any SSL certificate. 

This topic has been closed for replies.