My Oracle Support Banner

"PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors" While Testing SSL Connection From JDBC (Doc ID 2835050.1)

Last updated on JANUARY 25, 2022

Applies to:

JDBC - Version 12.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Testing a connection to a SSL Database setup is throwing the next error.
The JDBC and auxiliary files (ojdbc8.jar, oraclepki.jar, osdt_cert.jar and osdt_core.jar) used are from 12.2 version and the database is 19c version.


ERROR
-----------------------



Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.