My Oracle Support Banner

OUD 11g/12c - Error After Instance Creation " No subject alternative names present" when Running "status" Command Found with JDK8u181 & JDK7_191 Versions and Greater (Doc ID 2470313.1)

Last updated on MAY 29, 2024

Applies to:

Oracle Unified Directory - Version and later
Information in this document applies to any platform.


This issue occurs for any LDAPS connections including OUD commands (like dsconfig, status, dsreplication and using ldap[search|modify|delete] over the secure port).

Examples -

Running status:

>>>> Specify Oracle Unified Directory LDAP connection parameters
Administrator user bind DN [cn=$DS_ADMIN]:
Password for user 'cn=$DS_ADMIN':
Error reading configuration. Details:
javax.naming.CommunicationException:<ADMIN_PORT> [Root exception is
No subject alternative names matching IP address found]

Error encountered running dsconfig:

$ dsconfig -h localhost -p <ADMIN_PORT> -D cn="$DS_ADMIN" -j <PASSWORD_FILE> -X
Unable to connect to the server at localhost on port <ADMIN_PORT>...

Error running dsreplication:

$ ./dsreplication status

Do you trust this server certificate?

1) No
2) Yes, for this session only
3) Yes, also add it to a truststore
4) View certificate details

Enter choice [2]: 2

An error occurred connecting to the server. Details:
javax.naming.CommunicationException: myOUDhost:<ADMIN_PORT> [Root exception is
No subject alternative DNS name matching myOUDhost found.]

Other Error: No name matching ... found


Or, another error the "dsreplication status" could fail with:

Establishing connections and reading configuration ...............
Could not connect to the server <hostname:admin port>. Check that the
server is running and that is accessible from the local machine. Details:
<hostname:admin port>
Details: oracle.idm.oud.topologyapi.connections.ConnectionException



 Upgraded java from"1.8.0_151" to "1.8.0_181" on OUD servers (primary, replica and proxy)

Note: This issue can also occur with an upgrade of JDK 7 (JDK 7 Update 191+) on OUD 11g.



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
 Solution #1 - Use the Fully Qualified Domain Name (FQDN)
 Solution #2 (when FQDN can not be used) - Disable the Security Check

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