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 807596, 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 Google Groups by hnd, 3 months ago
java.security.ce rt.CertificateException: Could not find trusted certificate
via Oracle Community by 807546, 4 months ago
java.security.ce rt.CertificateException: CA certificate does not include basic constraints exten sion
via Oracle Community by 807569, 1 year ago
sun.security.validator.ValidatorException: No trusted certificate found
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 sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA12275)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA12275)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at undefined.JXMLParser.doParse(JXMLParser.java:17)
at undefined.TransUHCS.parseResponse(TransUHCS.java:96)
at undefined.TransUHCS.sendBatches(TransUHCS.java:87)
at undefined.TransUHCS.(TransUHCS.java:18)
at undefined.TransUHCS.main(TransUHCS.java:132)

Users with the same issue

2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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