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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Coderanch by Anand Natraj, 1 year ago
sun.security.validator.ValidatorException: No trusted certifica te found
via Oracle Community by 807569, 1 year ago
sun.security.validator.ValidatorException: No trusted certificate found
via Oracle Community by 843811, 1 year ago
java.security.cert.CertificateException: Couldn't find trusted certificate
via Oracle Community by 843811, 1 year ago
sun.security.validator.ValidatorException: No trusted certificate found
via Coderanch by Madhavan Sundarraj, 1 year ago
sun.security.validator.ValidatorException: No trusted certificate found
via Oracle Community by 843811, 1 year ago
sun.security.validator.ValidatorException: No trusted certificate found
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certifica te found
at sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304)
at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(DashoA6275)
at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA6275)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:617)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA6275)
at java.net.URL.openStream(URL.java:913)
at undefined.TestHttps.main(TestHttps.java:18)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
9 times, 11 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.