My Oracle Support Banner

How To Configure OVD Adapter To Failover When SSL Connection To Primary Host Fails Due To Server Private Key Changes? How To Configure OVD Adapter With Root CA Instead of Server Certificate? (Doc ID 1111630.1)

Last updated on NOVEMBER 03, 2019

Applies to:

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


Oracle Virtual Directory (OVD) 10g / or 11g.

When the remote / backend host server private key certificate is updated, the connection fails with error, for example:

Unable to create connection to ldap://<LDAP_HOSTNAME>:<PORT> as cn=<USERNAME>,OU=<OU>,DC=<COMPANY>,DC=com WorkThread# 13
javax.naming.CommunicationException: simple bind failed: <LDAP_HOSTNAME>:<PORT> Root exception is No trusted certificate found
  at com.sun.jndi.ldap.LdapClient.authenticate(

Or for example, if the certificate expired:

[2011-06-16 20:00:19,624] [#Primary AD LDAP Adapter] Unable to create connection to ldap://<LDAP_IPADDRESS>:<SSL_PORT> as <USERNAME>
javax.naming.CommunicationException: simple bind failed: <LDAP_IPADDRESS>:<SSL_PORT> [Root exception is NotAfter: Thu Jun 16 19:59:59 EDT 2011]

In 11g, the log may show:

[2012-02-15T12:39:58.925-05:00] [octetstring] [ERROR] [OVD-60143] [com.octetstring.vde.backend.jndi.<ADAPTER_NAME>.BackendJNDI] [tid: xx] [ecid: <ECID>] [arg: [#<ADAPTER_NAME>].] [arg: ldap://[<LDAP_HOSTNAME>]:<SSL_PORT>] [arg: uid=<USERNAME>,ou=<OU>,dc=<COMPANY>,dc=com] [#<ADAPTER_NAME>] Unable to create connection to ldap://[<LDAP_HOSTNAME>]:<SSL_PORT> as uid=<USERNAME>,ou=<OU>,dc=<COMPANY>,dc=com.[[
javax.naming.CommunicationException: simple bind failed:<LDAP_HOSTNAME>:<SSL_PORT> [Root exception is PKIX path building failed: unable to find valid certification path to requested target]

When this occurs the adapter does not failover to use the other remote nodes that are defined in the ldap adapter.

In looking to avoid this problem:

1.  How to configure the adapter to failover to the other servers when the connection to the primary host fails due server private key certificate changes?

2.  How to configure the adapters to use the Root Public key so the public keys do not need to be updated everytime the source private key certificate gets updated?


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

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