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 | kart siri | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to call the https get method on a self signed server and client certificate

    Stack Overflow | 5 years ago | Nohsib
    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

    Establishing https Connection using java 6

    Coderanch | 5 years ago | kart siri
    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

    Establish an HTTPS Connection

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

    YARN Resource Management

    hortonworks.com | 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
  6. 0

    YARN Resource Management |

    pivotal.io | 1 year 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

    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(Unknown Source)
      2. com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
      3. com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
      4. com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
      5. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
      6. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
      7. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
      8. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
      9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
      10. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
      11. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      12. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      12 frames
    3. Java RT
      HttpsURLConnectionImpl.getResponseCode
      1. sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
      2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
      3. sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      4. java.net.HttpURLConnection.getResponseCode(Unknown Source)
      5. sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
      5 frames