Quantcast
Viewing all articles
Browse latest Browse all 1061

Android libs cannot verify server certs

I'm using the android IMAP and SMTP libraries, and if I set RequireSslCertVerify = true on either of them, it will always fail:

09-07 18:37:47.318: D/ReportEmails(17379): checkServerCert:
09-07 18:37:47.318: D/ReportEmails(17379): Verifying server certificate...
09-07 18:37:47.318: D/ReportEmails(17379): validateServerCerts:
09-07 18:37:47.318: D/ReportEmails(17379): certListSize: 3
09-07 18:37:47.318: D/ReportEmails(17379): issuerDN_notFound: US, Equifax, Equifax Secure Certificate Authority
09-07 18:37:47.318: D/ReportEmails(17379): Unable to build certificate chain to root..
09-07 18:37:47.318: D/ReportEmails(17379): --validateServerCerts
09-07 18:37:47.318: D/ReportEmails(17379): SSL server certificate verification failed.
09-07 18:37:47.318: D/ReportEmails(17379): --checkServerCert

I've tried with several servers (example above is Gmail's SMTP cert) and none work. Do the Android libraries have problems loading the CA cert store on the device?


Viewing all articles
Browse latest Browse all 1061

Trending Articles