Upgrade To JDBC 19.19 Prevents Successful Connection To A PDB Using DN Matching
(Doc ID 2963906.1)
Last updated on AUGUST 02, 2023
Applies to:JDBC - Version 19.15 and later
Information in this document applies to any platform.
While using 19.19 Oracle JDBC driver and companion jars the connection was not successful. However there are no issues observed with 19.16 JDBC jar and companion jars.
Using JDBC 19.19 the following snipit for stack trace
java.sql.SQLRecoverableException: IO Error: Mismatch with the server cert DN
Caused by: oracle.net.ns.NetException: Mismatch with the server cert DN.
With Oracle 23.2 the actual error is more informative
java.sql.SQLException: ORA-17954: The configured DN, "CN=<Security_string_specification_of jdbc connect string>", does not match the DN, "CN=<CDB_COMMON_~NAME>", of the server's certificate
Client runs on Linux EE 8 and uses 19.19, while DB runs on AIX, and is multi-tenant
CDB and Multitenant environment PDB have separate wallets, two-way mutual validation, and DN_matching is performed,
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