My Oracle Support Banner

Getting "User name and password do not match" Attempting to Login to WebCenter Portal Configured with an External LDAP in SSL (Doc ID 2823702.1)

Last updated on NOVEMBER 29, 2021

Applies to:

Oracle WebCenter Portal - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Attempting to connect to WebCenter Portal configured with SSL and receive the following error:

ERROR 

User name and password do not match.

Login to the WebCenter Content configured in the same domain as WebCenter Portal works without issues. 

The WC_Portal-diagnostic.log shows the following errors:

[<DATE_TIME>] [WC_Portal] [NOTIFICATION] [] [oracle.adf.share.config.ADFContextMDSConfigHelperImpl] [tid: [ACTIVE].ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [[
oracle.adf.share.security.ADFSecurityIdentityProviderException:
Operations error: entity= op=search mesg=
    at oracle.adf.share.security.providers.jps.IgfIdentityManagementProvider.getIdsUserList(IgfIdentityManagementProvider.java:1238)
    at oracle.adf.share.security.providers.jps.IgfIdentityManagementProvider.getUserProfileList(IgfIdentityManagementProvider.java:541)
    at oracle.adf.share.security.identitymanagement.UserManager.getUserProfileList(UserManager.java:318)
    at oracle.adf.share.security.identitymanagement.UserProfile.initialize(UserProfile.java:114)
...

Caused by: oracle.igf.ids.IDSException: Operations error: entity= op=search mesg= AdditionalInfo: LDAP Error 2 : simple bind failed: <LDAP_HOST>:<LDAP_SSL_PORT>
    at oracle.igf.ids.arisid.ArisIdServiceManager.searchEntities(ArisIdServiceManager.java:2975)
    at oracle.igf.ids.UserManager.searchUsers(UserManager.java:312)
    at oracle.adf.share.security.providers.jps.IgfIdentityManagementProvider.getIdsUserList(IgfIdentityManagementProvider.java:1215)
... 69 more
Caused by: oracle.igf.ids.arisid.ArisIdConnectionException: Operations error: entity= op=search mesg= AdditionalInfo: LDAP Error 2 : simple bind failed: <LDAP_HOST>:<LDAP_SSL_PORT>
    at com.oracle.ovd.arisid.OvdIdsStackProvider.mapResultCode(OvdIdsStackProvider.java:774)
    at com.oracle.ovd.arisid.OvdIdsStackProvider.doSearch(OvdIdsStackProvider.java:2005)
    at com.oracle.ovd.arisid.ArisIdStackProvider.doSearch(ArisIdStackProvider.java:278)
    at org.openliberty.arisid.Interaction.doSearch(Interaction.java:1453)
    at oracle.igf.ids.arisid.ArisIdServiceManager.searchEntities(ArisIdServiceManager.java:2896)
... 71 more
Caused by: oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 2 : simple bind failed: <LDAP_HOST>:<LDAP_SSL_PORT>
    at oracle.ods.virtualization.operation.SearchOperation.process(SearchOperation.java:209)
    at oracle.ods.virtualization.operation.SearchOperation.process(SearchOperation.java:47)
    at oracle.ods.virtualization.service.DefaultVirtualizationSession.processOperation(DefaultVirtualizationSession.java:403)
    at oracle.ods.virtualization.service.DefaultVirtualizationSession.search(DefaultVirtualizationSession.java:190)
    at com.oracle.ovd.arisid.OvdIdsStackProvider.doSearch(OvdIdsStackProvider.java:1997)
... 74 more
Caused by: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 2 : simple bind failed: <LDAP_HOST>:<LDAP_SSL_PORT>
    at oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.getLDAPContext(BackendJNDI.java:1186)
    at oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.getConnection(BackendJNDI.java:1064)
    at oracle.ods.virtualization.engine.backend.jndi.ConnectionHandle.getHolder(ConnectionHandle.java:557)
    at oracle.ods.virtualization.engine.backend.jndi.ConnectionHandle.search(ConnectionHandle.java:326)
...

Caused by: javax.naming.CommunicationException: simple bind failed: <LDAP_HOST>:<LDAP_SSL_PORT> [Root exception is javax.net.ssl.SSLHandshakeException: Trust store details not provided for certificate import]
    at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:219)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2792)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxFromUrl(LdapCtxFactory.java:225)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:189)
...

Caused by: javax.net.ssl.SSLHandshakeException: Trust store details not provided for certificate import
    at sun.security.ssl.Alert.createSSLException(Alert.java:131)
    at sun.security.ssl.TransportContext.fatal(TransportContext.java:327)
    at sun.security.ssl.TransportContext.fatal(TransportContext.java:270)
    at sun.security.ssl.TransportContext.fatal(TransportContext.java:265)
    at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:646)
...

Caused by: java.security.cert.CertificateException: Trust store details not provided for certificate import
    at oracle.ods.virtualization.engine.util.OVDTrustManager.importCertificate(OVDTrustManager.java:131)
    at oracle.ods.virtualization.engine.util.OVDTrustManager.checkServerTrusted(OVDTrustManager.java:107)
    at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:1255)
    at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:630)
... 154 more

 

STEPS
The issue can be reproduced with the following steps:

  1. Configure the domain with an external LDAP such as OID with SSL. 
     
  2. Attempt to login to WebCenter Portal.
    Here you will get the error.

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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