javax.net.ssl.SSLException: Not trusted server certificate

Stack Overflow | harrisonlee | 7 years ago
  1. 0

    Trusting all certificates using HttpClient over HTTPS - Code Reply

    codereply.com | 1 year ago
    javax.net.ssl.SSLException: Not trusted server certificate
  2. 0

    Trusting all certificates using HttpClient over HTTPS

    Stack Overflow | 7 years ago | harrisonlee
    javax.net.ssl.SSLException: Not trusted server certificate
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.RuntimeException

    Google Groups | 6 years ago | Hdridi
    java.security.InvalidAlgorithmParameterException: the > > trustAnchors parameter must be non-empty at > > java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java: > > 183)
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.InvalidAlgorithmParameterException

    the trust anchors set is empty

    at java.security.cert.PKIXParameters.checkTrustAnchors()
  2. Java RT
    PKIXParameters.<init>
    1. java.security.cert.PKIXParameters.checkTrustAnchors(PKIXParameters.java:645)
    2. java.security.cert.PKIXParameters.<init>(PKIXParameters.java:89)
    2 frames
  3. org.apache.harmony
    TrustManagerFactoryImpl.engineGetTrustManagers
    1. org.apache.harmony.xnet.provider.jsse.TrustManagerImpl.<init>(TrustManagerImpl.java:89)
    2. org.apache.harmony.xnet.provider.jsse.TrustManagerFactoryImpl.engineGetTrustManagers(TrustManagerFactoryImpl.java:134)
    2 frames
  4. Java RT
    TrustManagerFactory.getTrustManagers
    1. javax.net.ssl.TrustManagerFactory.getTrustManagers(TrustManagerFactory.java:226)
    1 frame
  5. Apache HttpClient
    SSLSocketFactory.<init>
    1. org.apache.http.conn.ssl.SSLSocketFactory.createTrustManagers(SSLSocketFactory.java:263)
    2. org.apache.http.conn.ssl.SSLSocketFactory.<init>(SSLSocketFactory.java:190)
    3. org.apache.http.conn.ssl.SSLSocketFactory.<init>(SSLSocketFactory.java:216)
    3 frames
  6. me.harrisonlee.test
    MainActivity$2.run
    1. me.harrisonlee.test.ssl.MainActivity.connect(MainActivity.java:107)
    2. me.harrisonlee.test.ssl.MainActivity.access$0(MainActivity.java:77)
    3. me.harrisonlee.test.ssl.MainActivity$2.run(MainActivity.java:49)
    3 frames