AnsweredAssumed Answered

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Question asked by PriteshPatel911 on Feb 3, 2015
Latest reply on Nov 6, 2017 by Sjaak Overgaauw
I'm getting the below error when doing a HTTP call. Funny thing is that the process works from my local Atom but fails with the error below when I run it from the PROD atom. I've already checked the security cert's on both atom's and they are a match. Both have unlimited encryption strength enabled as well. I'm stumped. Any ideas?


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(Unknown Source)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
 at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
 at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
 at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
 at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
 at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
 at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
 at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
 at java.net.HttpURLConnection.getResponseCode(Unknown Source)
 at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
 at com.boomi.connector.http.HttpGet.handle(HttpGet.java:314)
 at com.boomi.connector.http.HttpGet.get(HttpGet.java:152)
 at com.boomi.connector.custom.CustomGetConnectorAction.invoke(CustomGetConnectorAction.java:45)
 at com.boomi.connector.base.BaseConnectorAction.invokeBase(BaseConnectorAction.java:275)
 at com.boomi.connector.base.BaseConnectorAction.invoke(BaseConnectorAction.java:242)
 at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at com.boomi.util.ClassUtil$InvokerWithClassLoader.invoke(ClassUtil.java:360)
 at $Proxy44.invoke(Unknown Source)
 at com.boomi.process.shape.ConnectorShapeHandler.execute(ConnectorShapeHandler.java:150)
 at com.boomi.process.shape.StartShape.execute(StartShape.java:133)
 at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:544)
 at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:294)
 at com.boomi.process.ProcessExecution.call(ProcessExecution.java:772)
 at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:888)
 at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:60)
 at com.boomi.util.concurrent.CancellableFutureTask.run(CancellableFutureTask.java:163)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: 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.validator.PKIXValidator.doBuild(Unknown Source)
 at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
 at sun.security.validator.Validator.validate(Unknown Source)
 at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown Source)
 at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
 at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
 ... 34 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
 at java.security.cert.CertPathBuilder.build(Unknown Source)
 ... 40 more
 

Outcomes