JDBC Driver Fails To Perform DN Verification When Using OUD

(Doc ID 2282155.1)

Last updated on JULY 06, 2017

Applies to:

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

Symptoms

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

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


Cause

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