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

Coderanch | Vishal Hegde | 3 years ago
  1. 0

    Getting exception: error: sun.security.validator.ValidatorException: PKIX path building failed (Java in General forum at Coderanch)

    coderanch.com | 5 months 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
  2. 0

    Getting exception: error: sun.security.validator.ValidatorException: PKIX path building failed

    Coderanch | 3 years ago | Vishal Hegde
    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

    Getting exception: error: sun.security.validator.ValidatorException: PKIX path building failed (Java in General forum at Coderanch)

    coderanch.com | 3 months 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting exception: error: sun.security.validator.ValidatorException: PKIX path building failed (Java in General forum at Coderanch)

    coderanch.com | 1 month 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
  6. 0

    [m2e-users] M2E Maven Launchers not consistently handling javax.net.ssl

    eclipse.org | 1 year ago
    sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  1. Prashant Patil 1 times, last 8 months ago
  2. Andreas Häber 8 times, last 3 weeks ago
  3. tvrmsmith 4 times, last 2 months ago
  4. Dore 1 times, last 3 months ago
  5. andyglick 17 times, last 2 months ago
2 more registered users
58 unregistered visitors
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:236)
    2. java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194)
    3. sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:216)
    4. sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:145)
    5. sun.security.validator.Validator.validate(Validator.java:203)
    5 frames
  3. Java JSSE
    SSLSocketImpl.startHandshake
    1. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172)
    2. com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
    3. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841)
    4. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
    5. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
    6. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
    7. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:877)
    8. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)
    9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1116)
    10. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1100)
    10 frames
  4. Java RT
    HttpsURLConnectionImpl.getResponseCode
    1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402)
    2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
    3. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:960)
    4. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
    5. sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:318)
    5 frames
  5. com.java
    HttpsClient.main
    1. com.java.HttpsClient.print_https_cert(HttpsClient.java:47)
    2. com.java.HttpsClient.testIt(HttpsClient.java:28)
    3. com.java.HttpsClient.main(HttpsClient.java:15)
    3 frames