Re: Self-signed certs and a replacement for EasySSLProtocolSocketFactory

2009-02-10 Thread Olivier Lamy
Hi, You can have a look at the continuum code which do this with httpclient 4.x. [1] Line with comment : // https scheme schemeRegistry.register( new Scheme( https, new EasySSLSocketFactory(), 443 ) ); HTH, -- Olivier [1]

Re: Self-signed certs and a replacement for EasySSLProtocolSocketFactory

2009-02-10 Thread Will McQueen
Lamy ol...@apache.org wrote: From: Olivier Lamy ol...@apache.org Subject: Re: Self-signed certs and a replacement for EasySSLProtocolSocketFactory To: HttpClient User Discussion httpclient-users@hc.apache.org, willmcqu...@yahoo.com Date: Tuesday, February 10, 2009, 12:30 AM Hi, You can

Self-signed certs and a replacement for EasySSLProtocolSocketFactory

2009-02-09 Thread Will McQueen
Hi, For testing in stage environment, I'm using EasySSLProtocolSocketFactory to create an SSL Socket that accept self-signed certificates. But HttpClient 3.1 docs say that this method is deprecated. Is there a replacement class (either in HttpClient 3.1 or 4.0) that achieves the same goal?