javax.net.ssl.SSLHandshakeException

java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.


Solutions on the web2016

Solution icon of github
via GitHub by BenoitDuffez
, 7 months ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Solution icon of github
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Solution icon of github
via GitHub by vcazan
, 1 year ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Solution icon of github
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Solution icon of github
via GitHub by randeeppr
, 1 year ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Solution icon of github
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Solution icon of github
via GitHub by Happyfeet01
, 3 months ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Solution icon of github
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Solution icon of github
via GitHub by roundhill
, 1 year ago
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Solution icon of github
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

Stack trace

  • javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:357) at com.android.okhttp.internal.http.SocketConnector.connectTls(SocketConnector.java:212) at com.android.okhttp.Connection.connect(Connection.java:1322) at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:1410) at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:131) at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:484) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:465) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:371) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:468) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:410) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:532) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25) at com.danikula.videocache.HttpUrlSource.openConnection(HttpUrlSource.java:150) at com.danikula.videocache.HttpUrlSource.fetchContentInfo(HttpUrlSource.java:118) at com.danikula.videocache.HttpUrlSource.length(HttpUrlSource.java:60) at com.danikula.videocache.HttpProxyCache.newResponseHeaders(HttpProxyCache.java:61) at com.danikula.videocache.HttpProxyCache.processRequest(HttpProxyCache.java:39) at com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:42) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:233) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:337) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:337) at com.android.org.conscrypt.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java:231) at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:115) at com.android.org.conscrypt.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:643) at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method) at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:353) ... 26 more Caused by: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. ... 32 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

10 times, 10 months ago
216 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1 more bugmates