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

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 connection property 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.

1 Like