hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: SSLv3 support
Date Fri, 26 Oct 2012 12:09:08 GMT
On Fri, 2012-10-26 at 11:06 +0200, Olivier Lamy wrote:
> Hi,
> Is there any way to handle SSLv3 (see related maven issue
> https://jira.codehaus.org/browse/MNG-5363 ) ?
> Or what is the best way to achieve that ?
> 
> Thanks for any advice


Hi Olivier

One can exert full control over the connection socket life cycle by
using a custom SchemeSocketFactory. In your particular case it should be
sufficient to subclass SSLSocketFactory class, override its
#prepareSocket method and call SSLSocket#setEnabledProtocols() method on
all sockets created by the super class. 

Please feel free to raise an enhancement request in JIRA for support of
this feature out of the box.

Cheers

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message