Unable to Log On to the OAMCONSOLE Application after Configuring WebLogic to Listen on SSL only (Doc ID 1924497.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version 11.1.2.1.0 and later
Information in this document applies to any platform.
Weblogic Server configured for SSL only
WebLogic Embedded LDAP server used as the system Identity Store in OAM

Symptoms

The embedded WebLogic LDAP server is used as the OAM system Identity Store.

After the configuration of the WebLogic server processes to listen only on SSL ports ,

The OAM server is unable to authenticate the user accessing the oamconsole application via the WebLogic embedded LDAP server .

The following error is logged in the OAM diagnostic log file:

<> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from prsvr418.ced.h3g.it - 10.200.11.26. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>
<> <Error> <oracle.oam.jndi.ldap> <OAMSSA-00134> <Failure of pool oracle.security.am.common.jndi.ldap.ucp.LdapConnectionPool@253ee69b to start.>
<> <Error> <oracle.oam.user.identity.provider> <OAMSSA-20005> <Error initializing User/Role API : {0}.
oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException
      at oracle.security.am.engines.common.identity.provider.util.LDAPConfigurator.getFactoryEnv(LDAPConfigurator.java:274)
...
Caused By: oracle.security.am.common.jndi.ldap.PoolingException [Root exception is oracle.ucp.UniversalConnectionPoolException: javax.naming.CommunicationException: prsvr418.ced.h3g.it:14101 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]]
      at oracle.security.am.common.jndi.ldap.config.LdapPoolConfig.start(LdapPoolConfig.java:421)
...
Caused By: oracle.ucp.UniversalConnectionPoolException: javax.naming.CommunicationException: prsvr418.ced.h3g.it:14101 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
      at oracle.security.am.common.jndi.ldap.ucp.LdapConnectionFactoryAdapter.createConnection(LdapConnectionFactoryAdapter.java:432)
...
Caused By: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
...
Caused By: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)

  

 The oamconsole application could be accessed, if the OAM managed server process is stopped.

Changes

The WebLogic server processes are configured for SSL only  as described in the Notes :


Configuring Oracle WebLogic Server (10.3.X - 12.1.X) to use SSL in Fusion Middleware 11g/12c (Doc ID 1235653.1)
How to Configure WebLogic Admin Server to Listen on SSL Only and associated FMW Considerations (Doc ID 1353951.1)

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