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 이계영 <gy...@samsung.com> on 2015/09/16 16:50:13 UTC
Setup DH parameters for cipher suite
'TLS_DHE_RSA_WITH_AES_128_CBC_SHA'.
Hello Good Listener.
I am tring to setup DH parameters with a key length of 2048 bits for using cipher suite 'TLS_DHE_RSA_WITH_AES_128_CBC_SHA'.
I saw the way to use openssl like below. But I cannot find the way with httpclient and httpcore.
My version of httpclient and httpcore is 4.2.5.
openssl site : http://www.openssl.org/docs/manmaster/ssl/SSL_CTX_set_tmp_dh_callback.html
Thanks,
Gary
===================================================
Lee, Gyeyoung
Smart Home Solution Lab
SAMSUNG ELECTRONICS Co., Ltd.
Mobile : +82-10-5588-2137
E-mail : gyeyoung.lee@samsung.com
===================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: Setup DH parameters for cipher suite
'TLS_DHE_RSA_WITH_AES_128_CBC_SHA'.
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2015-09-16 at 14:50 +0000, 이계영 wrote:
>
> Hello Good Listener.
>
> I am tring to setup DH parameters with a key length of 2048 bits for using cipher suite 'TLS_DHE_RSA_WITH_AES_128_CBC_SHA'.
>
> I saw the way to use openssl like below. But I cannot find the way with httpclient and httpcore.
>
> My version of httpclient and httpcore is 4.2.5.
>
> openssl site : http://www.openssl.org/docs/manmaster/ssl/SSL_CTX_set_tmp_dh_callback.html
>
> Thanks,
> Gary
>
Can you upgrade to HttpClient 4.5.1?
It is just easier with newer versions of HttpClient
http://hc.apache.org/httpcomponents-client-4.5.x/httpclient/examples/org/apache/http/examples/client/ClientCustomSSL.java
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org