javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate 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

Solutions on the web

via Oracle Community by 843811, 1 year ago
sun.security.validator.ValidatorException: No trusted certificate found
via hivmr.com by Unknown author, 1 year ago
sun.security.validator.ValidatorException: No trusted certificate found
via Oracle Community by 843811, 4 months ago
java.security.cert.CertificateException: Certificate chaining error: issuer DN != subject DN
via hc-httpclient-users by rama krishna reddy, 1 year ago
via Oracle Community by 843793, 1 year ago
sun.security.validator.ValidatorException: No trusted certificate found
via Oracle Community by 843793, 1 year ago
sun.security.validator.ValidatorException: No trusted certificate found
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate 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(DashoA12275)
at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(DashoA12275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:790)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2271)
at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2651)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643)
at com.mypack.HttpClientTest.main(HttpClientTest.java:15)

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
7 more bugmates

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