My Oracle Support Banner

Which Certificate Store To Use For AD User Management Connector On WebLogic? (Doc ID 1366551.1)

Last updated on JULY 21, 2020

Applies to:

Identity Manager Connector - Version and later
Information in this document applies to any platform.
**Checked for Relevance on 30-Apr-2013**


AD User Management connector fails connecting to AD over SSL, with the following error:

Caused by: javax.naming.CommunicationException: simple bind failed: [Root exception is PKIX path building failed: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: The certificate issued by CN=COMPANYNAME Test Root CA, O=COMPANYNAME, C=US is not trusted; internal cause is: Certificate chaining error]
at com.sun.jndi.ldap.LdapClient.authenticate(
at com.sun.jndi.ldap.LdapCtx.connect(
at com.sun.jndi.ldap.LdapCtx.(
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(
at javax.naming.spi.NamingManager.getInitialContext(
at javax.naming.InitialContext.initializeDefaultInitCtx(
at javax.naming.InitialContext.getDefaultInitCtx(
at javax.naming.InitialContext.internalInit(
at javax.naming.InitialContext.(
at com.thortech.xl.integration.ActiveDirectory.test.ADServerConnectorTest.getLDAPConnection(Unknown Source)
at com.thortech.xl.integration.ActiveDirectory.test.ADServerConnectorTest.testBasicConnectivity(Unknown Source)
 (note the above error is on IBM JDK and other JDK may give a slightly different message)

This occurs even though a custom identity store is configured in WLS config.xml, and the AD SSL CA cert has been added to the custom identity store:

Adding it to the default Java cacerts trust store (jre/lib/security/cacerts) does not resolve the issue either.

Which is the correct trusted key store to add the CA certificate to?


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.