Tried almost everything and got no success making DefaultHttpClient() to work with expired SSL certificate. Does anybody have some example or something that can help. Android SDK 8
Tried almost everything and got no success making DefaultHttpClient() to work with expired SSL
Share
You can use a custom
TrustManagerto handle expired SSL certificates.This post in SO ignore ssl errors in default httpclient has some code to look at, but essentially it accepts all certificates.
Not sure why would you want to accept expired certificates but I would recommend to not do it.