Oracle Integration Cloud - OIC. Web Service Call Through Agent Fails With SSLHandshakeException: PKIX path building failed and unable to find valid certification path to requested target
(Doc ID 2990442.1)
Last updated on NOVEMBER 30, 2023
Applies to:
Oracle Integration-OIC - Version 23.3.2 and laterInformation in this document applies to any platform.
Symptoms
When attempting to invoke EBS services from Oracle Integration Cloud , the call works in Production and UAT but not in the Development instance.
The following error occurs in the agent log:
[2023-10-27T17:07:07.410Z] [SEVERE] [ThreadID: 2719] [Logger: oracle.soa.adapter] [SRC Class: oracle.cloud.connector.impl.DefaultLoggingServiceImpl; Method: logError] [oracle.cloud.connector.impl.Jersey2Delegate.invoke#Caught ProcessingException.], Cause =[javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target] javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:269)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:662)
at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:269)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:297)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:662)
at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
The issue can be reproduced at will with the following steps:
1. Start the agent as : java -Djavax.net.debug=all -jar connectivityagent.jar > agentstartlog1.txt 2>&1
2. Make the call from OIC .
3. Review agentstartlog1.txt and confirm the SSLHandshakeException: PKIX 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 |
References |