My Oracle Support Banner

WebCenter Portal Discussions Giving Error "sun.security.provider.certpath.SunCertPathBuilderException unable to find valid certification path to requested target" (Doc ID 2045272.1)

Last updated on SEPTEMBER 28, 2023

Applies to:

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

Symptoms

Using WebCenter Portal 11.1.1.8.0 and trying to enable single sign on with Oracle Access Manager (OAM) 11.1.2.2.  After doing this, Discussions/Announcements no longer work.
The following error occurs when navigating to Admin > Tools and Services > Discussions:

...
"failure to authenticate the user weblogic, due to: Unexpected error occurred, due to : sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target".
...


Prior to integrating SSO and OHS, Announcements could be seen on the custom portal page and access to Tools and Services > Discussions section of the WebCenter Portal Administration tools worked.

The jiveURL is set to http://<HOSTNAME>:<PORT>/owc_discussions and owc_discussions.sso.mode = true as per the listed documentation on SSO steps.

All communication is using http with the exception of OAM which is using SSL.

Both WC_Spaces and WC_Collaboration are pointing to the /config/fmwconfig/default-keystore.jks location. They are both using the Java Standard Trust Keystore at /jre/lib/security/cacerts. The installed java version is jrockit-jdk1.6.0_45-R28.2.7-4.1.0

Errors in logs are like:

Submission[id=18, service=oracle.webcenter.collab.forum, resource=null] caught exception running task
Supplemental Detail oracle.webcenter.collab.share.LoginFailedException: failure to authenticate the user weblogic, due to: Unexpected error occurred, due to : sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at oracle.webcenter.collab.forum.internal.jive.JiveForumSession.login(JiveForumSession.java:213)
at oracle.webcenter.collab.share.Session$1.call(Session.java:684)
at oracle.webcenter.collab.share.Session$1.call(Session.java:677)
at oracle.webcenter.concurrent.Submission$2.run(Submission.java:497)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:511)
at oracle.webcenter.concurrent.Submission.run(Submission.java:427)
at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:907)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:440)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:139)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:683)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.webcenter.collab.share.SessionException: Unexpected error occurred, due to : sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at oracle.webcenter.collab.forum.internal.jive.JiveAuthenticator.login(JiveAuthenticator.java:229)
at oracle.webcenter.collab.forum.internal.jive.JiveForumSession.login(JiveForumSession.java:186)
... 13 more
Caused by: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:880)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106)
at oracle.j2ee.ws.client.jaxws.WsClientProxyInvocationHandler.invoke(WsClientProxyInvocationHandler.java:254)
at com.sun.proxy.$Proxy225.getUserByUsername(Unknown Source)
at oracle.webcenter.collab.forum.internal.jive.JiveAuthenticator.login(JiveAuthenticator.java:205)
at oracle.webcenter.collab.forum.internal.jive.JiveForumSession.login(JiveForumSession.java:187)
... 13 more
Caused by: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:231)
at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75)
at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:67)
at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:275)
at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:824)
... 19 more
Caused by: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post2(HttpSOAPConnection.java:520)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PrivilegedPost.run(HttpSOAPConnection.java:1287)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:229)
... 26 more
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 com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1747)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:241)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:235)

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!


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