Friday, June 1, 2012

Apache Commons HTTP Client Allow Self-Signed Certificate

Most of the materials online are for HTTP Client 3.x.

Steps for 4.x are described here: http://ctasada.blogspot.com/2010/11/httpclient-use-self-signed-certificates.html

However, the sample code makes use of deprecated methods. You'll have to update those methods if you want to avoid using deprecated methods.

No comments:

Post a Comment