You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Olivier Lamy <ol...@apache.org> on 2012/10/26 11:06:11 UTC

SSLv3 support

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
-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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


Re: SSLv3 support

Posted by Oleg Kalnichevski <ol...@apache.org>.
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