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 | 817491 | 5 years ago
  1. 0

    SSL Issue

    Oracle Community | 5 years ago | 817491
    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

    Certificate signature validation failed

    Stack Overflow | 10 months ago | Vida
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: Certificate signature validation failed
  3. 0

    Problem in HttpsURLConnection

    Oracle Community | 1 decade ago | 843810
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HttpsURLConnection - Problem in SSL Handshaking

    Oracle Community | 1 decade ago | 666705
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
  6. 0

    HttpsURLConnection - Problem in SSL Handshaking

    Coderanch | 1 decade ago | Madhavan Sundarraj
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found

    15 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. 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()
    2. Java JSSE
      SSLSocketImpl.startHandshake
      1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
      2. com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
      3. com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
      4. com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
      5. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
      6. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
      7. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
      8. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
      9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
      10. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
      11. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
      12. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
      12 frames
    3. Java RT
      HttpsClient.afterConnect
      1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
      1 frame