javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certifica te found

Coderanch | Anand Natraj | 1 decade 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

    Https problem when accessing through java programs

    Coderanch | 1 decade ago | Anand Natraj
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certifica te found
  2. 0

    Getting SSLHandshake Exception

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

    Problem with Website Certified by an Unknown Authority...!

    Oracle Community | 1 decade ago | 807569
    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

    Metro - Users - Writing a standalone Java client to access a secured WCF webservice

    nabble.com | 12 months ago
    sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
  6. 0

    db:: 4.04::java.net.MalformedURLException: unknown protocol: https 7j

    hivmr.com | 8 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

  1. Prashant Patil 1 times, last 12 months ago
  2. johnxfly 3 times, last 1 week ago
  3. iferca 1 times, last 3 weeks ago
  4. jf-ast 1 times, last 2 months ago
  5. Alireza Mohamadi 5 times, last 3 months ago
7 more registered users
59 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.validator.ValidatorException

    No trusted certificate found

    at sun.security.validator.SimpleValidator.buildTrustedChain()
  2. Java RT
    Validator.validate
    1. sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)
    2. sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)
    3. sun.security.validator.Validator.validate(Validator.java:202)
    3 frames
  3. Java JSSE
    SSLSocketImpl.startHandshake
    1. com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(DashoA6275)
    2. com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(DashoA6275)
    3. com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    4. com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
    5. com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    6. com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    7. com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    8. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
    8 frames
  4. Java RT
    URL.openStream
    1. sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275)
    2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA6275)
    3. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:617)
    4. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA6275)
    5. java.net.URL.openStream(URL.java:913)
    5 frames
  5. Unknown
    TestHttps.main
    1. TestHttps.main(TestHttps.java:18)
    1 frame