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 Zhu Zhong <zh...@yahoo.com.cn> on 2007/07/03 14:48:19 UTC
how do I make sure httpclient to use certain cipher spec?
Hi all,
I'm a newbie to httpclient & SSL. Could any of you
help me with this quesiton? I'm trying to get
httpclient to use only SSL_RSA_WITH_3DES_EDE_CBC_SHA?
Thank you!
Zhu.
___________________________________________________________
抢注雅虎免费邮箱3.5G容量,20M附件!
http://cn.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
Re: how do I make sure httpclient to use certain cipher spec?
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2007-07-03 at 20:48 +0800, Zhu Zhong wrote:
> Hi all,
>
> I'm a newbie to httpclient & SSL. Could any of you
> help me with this quesiton? I'm trying to get
> httpclient to use only SSL_RSA_WITH_3DES_EDE_CBC_SHA?
>
> Thank you!
>
> Zhu.
>
Zhu,
After having created an instance of SSLSocket but before the handshake
is attempted one can adjust the suite of enabled ciphers by using this
method
http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/SSLSocket.html#setEnabledCipherSuites(java.lang.String[])
Hope this helps
Oleg
>
> ___________________________________________________________
> 抢注雅虎免费邮箱3.5G容量,20M附件!
> http://cn.mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org