javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

GitHub | nahba | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Accepting Self Signed HTTPS Certificates

    GitHub | 1 month ago | nahba
    com.danikula.videocache.ProxyCacheException: Error opening connection for https://100.100.114.114/videos/video1.mp4 with offset 0
  2. 0

    Android Jsoup certificate issues

    Stack Overflow | 1 year ago | AniketAman
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
  3. 0

    Android: Posting over a network with self signing SSL Certs

    Stack Overflow | 9 months ago | Owen Nel
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 5427#207289520

    GitHub | 10 months ago | cascheberg
    org.whispersystems.signalservice.api.push.exceptions.PushNetworkException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
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. java.security.cert.CertPathValidatorException

    Trust anchor for certification path not found.

    at com.android.org.conscrypt.TrustManagerImpl.checkTrusted()
  2. RoboVM
    OpenSSLSocketImpl.startHandshake
    1. com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:337)
    2. com.android.org.conscrypt.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java:231)
    3. com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:115)
    4. com.android.org.conscrypt.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:643)
    5. com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
    6. com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:353)
    6 frames
  3. Android
    HttpEngine.sendRequest
    1. com.android.okhttp.internal.http.SocketConnector.connectTls(SocketConnector.java:212)
    2. com.android.okhttp.Connection.connect(Connection.java:1322)
    3. com.android.okhttp.Connection.connectAndSetOwner(Connection.java:1410)
    4. com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:131)
    5. com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:484)
    6. com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:465)
    7. com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:371)
    7 frames
  4. com.android.okhttp
    HttpsURLConnectionImpl.getResponseCode
    1. com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:468)
    2. com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:410)
    3. com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:532)
    4. com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
    5. com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25)
    5 frames
  5. com.danikula.videocache
    HttpProxyCacheServer$SocketProcessorRunnable.run
    1. com.danikula.videocache.HttpUrlSource.openConnection(HttpUrlSource.java:150)
    2. com.danikula.videocache.HttpUrlSource.fetchContentInfo(HttpUrlSource.java:118)
    3. com.danikula.videocache.HttpUrlSource.length(HttpUrlSource.java:60)
    4. com.danikula.videocache.HttpProxyCache.newResponseHeaders(HttpProxyCache.java:61)
    5. com.danikula.videocache.HttpProxyCache.processRequest(HttpProxyCache.java:39)
    6. com.danikula.videocache.HttpProxyCacheServerClients.processRequest(HttpProxyCacheServerClients.java:42)
    7. com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:233)
    8. com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52)
    9. com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:337)
    9 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    5. java.lang.Thread.run(Thread.java:818)
    5 frames