Hi,

I'm facing a problem with getting HttpClient to connect to a HTTPS URL
through a proxy when using the EasySSLProtocolSocketFactory.

For example, when I connect to "https://www.verisign.com"; through a
proxy with the out-of-the-box configuration, everything works fine.
However, I need to connect to another server through the same proxy
and that other server has a self-signed certificate (it's a test
server).

Originally I did the following:

   ProtocolSocketFactory socketFactory = new EasySSLProtocolSocketFactory();
   Protocol protocol = new Protocol("https", socketFactory, 443);
   Protocol.registerProtocol(protocol.getScheme(), protocol);

...and everything worked--both against verisign.com and against the
test server with a self-signed certificate. However, now they're both
behind a HTTP proxy and the EasySSLProtocolSocketFactory doesn't seem
to cut it anymore.

What options do I have?


Lasse

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to