1
votes

I am getting below error while connecting Linux Oracle server from Windows in Java (JDBC), may I know how to solve this error.

java.sql.SQLRecoverableException: Io exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

1
What database are you using (MySQL, Oracle, MS SQL, PostgreSQL, ...)? Did you set up the server to use SSL? Using what certificate? - Andreas
Oracle Database 12c - VeNu GoPaL
Then edit question and tag it. - Andreas
The error indicates that it can't establish trust for the SSL certificate used. You may need to add the SSL certificate to your trust store. - Mark Rotteveel

1 Answers

0
votes

Refer to the Security whitepaper for more information and instructions.