Blog Archive for March 30, 2011

HttpClient to Self Signed Certificates

March 30, 2011

I needed to do a https call using HttpClient where the SSL was implemented using a self signed certificate. This is possible by setting up a new protocol handler for https.

This shouldn't be used in production, unless you understand the risks of accepting self signed certificates.

Here's the HTTPClient …