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

Stack Overflow | apouche | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Charles SSL Proxying issues on latest Android SDK and Emulator

    Stack Overflow | 6 months ago | apouche
    java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
  2. 0

    Has Android changed SSL configuration in API 24?

    Stack Overflow | 7 months ago | Nathan H
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

  1. Reich 1 times, last 2 months ago

Root Cause Analysis

  1. java.security.cert.CertificateException

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

    at com.android.org.conscrypt.TrustManagerImpl.verifyChain()
  2. RoboVM
    TrustManagerImpl.getTrustedChainForServer
    1. com.android.org.conscrypt.TrustManagerImpl.verifyChain(TrustManagerImpl.java:563)
    2. com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:444)
    3. com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:508)
    4. com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:401)
    5. com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:375)
    6. com.android.org.conscrypt.TrustManagerImpl.getTrustedChainForServer(TrustManagerImpl.java:304)
    6 frames
  3. android.security.net
    RootTrustManager.checkServerTrusted
    1. android.security.net.config.NetworkSecurityTrustManager.checkServerTrusted(NetworkSecurityTrustManager.java:94)
    2. android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:88)
    2 frames
  4. RoboVM
    OpenSSLSocketImpl.startHandshake
    1. com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:178)
    2. com.android.org.conscrypt.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:596)
    3. com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
    4. com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:357)
    4 frames