The Error: Unexpected network error while connecting to web service: Not trusted server certificate javax.net.ssl.SSLException: Not trusted server certificate at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake (OpenSSLSocketImpl.java:363) ..... Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: TrustAnchor for CertPath not found. ...
The Question: There are discussions all around about problems when https connecting Android to validly signed servers, but nobody has found an effective solution besides bypassing the certificate validation process. And I'm not talking about the understandably questionable self-signed certificates. I'm connecting to a DigiCert-signed server so I don't see what the problem is. DigiCert appears to be a widely used certificate signer so I can't believe all their certs are all invalid on Android. That leads me to another possible answer: that Android is misprocessing some part of DigiCert-signed certificates. This would appear to be true as the error above talks about "TrustAnchor for CertPath not found". Sadly I have no idea what a TrustAnchor is or how the validate whether the CertPath is properly structured... Anybody...? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

