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

Oracle Community | 807574 | 7 years ago
  1. 0

    JCAPS 6: HTTP Binding verb=post for (XML/HTTPS)

    Oracle Community | 7 years ago | 807574
    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
  2. 0

    Why am I suddenly getting 'PKIX path building failed' error when processing Paypal payment

    Stack Overflow | 2 years ago
    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
  3. 0

    Https not work in java1.6

    Oracle Community | 9 years ago | 843811
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HTTP transport error: javax.net.ssl.SSLHandshakeException with WSO2 DSS

    Stack Overflow | 4 years ago | Bayaraa Eba
    com.sun.xml.ws.client.ClientTransportException: HTTP transport error: 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
  6. 0

    Could not sign in. Make sure that you entered the correct verification code. error in ADT while trying to signin in gmail

    Stack Overflow | 3 years ago | Irshad A Khan
    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
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. sun.security.provider.certpath.SunCertPathBuilderException

    unable to find valid certification path to requested target

    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild()
  2. Java RT
    Validator.validate
    1. sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
    2. java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
    3. sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
    4. sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
    5. sun.security.validator.Validator.validate(Validator.java:218)
    5 frames
  3. Java JSSE
    SSLSocketImpl.startHandshake
    1. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
    2. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
    3. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
    4. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)
    5. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
    6. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
    7. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
    8. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
    9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
    10. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
    11. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
    11 frames
  4. Java RT
    HttpsURLConnectionImpl.getOutputStream
    1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
    2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
    3. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:832)
    4. sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
    4 frames
  5. JAX-WS RI Runtime Bundle
    HttpTransportPipe.process
    1. com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:122)
    2. com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:137)
    2 frames
  6. Metro Web Services Runtime OSGi Bundle
    XWSSClientPipe.process
    1. com.sun.xml.xwss.XWSSClientPipe.process(XWSSClientPipe.java:118)
    1 frame
  7. JAX-WS RI Runtime Bundle
    DispatchImpl.invoke
    1. com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
    2. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
    3. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
    4. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
    5. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
    6. com.sun.xml.ws.client.Stub.process(Stub.java:248)
    7. com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:180)
    8. com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
    8 frames
  8. com.sun.jbi
    OutboundAction.run
    1. com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatchHttpPost(OutboundMessageProcessor.java:1382)
    2. com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1535)
    3. com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:666)
    4. com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:244)
    5. com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63)
    5 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    3. java.lang.Thread.run(Thread.java:619)
    3 frames