JDBC Driver Fails To Perform DN Verification When Using OUD

(Doc ID 2282155.1)

Last updated on JULY 06, 2017

Applies to:

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


Java based client connects to an Oracle database using JDBC thin driver

The JDBC URL has OUD entry:

The client fails to connect and reports the following exception:

oracle.net.ns.NetException: Mismatch with the server cert DN.
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:285)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1452)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:496)
... 11 more


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms