27Feb/117
How to use Apache HttpClient (DefaultHttpClient) with HTTPS/SSL on Android
Connecting to an HTTPS address using the Apache HttpClient shipped with Android is not so straight forward. Whether the server's certificate as correct or not, you will probably see one of these exceptions:
javax.net.ssl.SSLPeerUnverifiedException: No peer certificate.
Here is a "quick and dirty" solution which makes the HttpClient trust any certificate without verifying it (not recommended to be used in productive environments, of course). Read more...