cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Libxurl use only TLSv1_2

From: Indtiny s <indtiny_at_gmail.com>
Date: Wed, 1 May 2013 00:02:00 +0530

Hi,

 I am using the openssl1.0.1c version and curl 7.28.1 .

Since the server strictly looking for TLSv1.2 in the Client hello protocol
header for ssl protocol as a first one , it is forcing my client to
provide no option for TLSv1.1 .

To do this I went through the openssl , to set this in the realtime I need
to use openssl context

SSL_CTX_set_options() with an argument of:
 SSP_OP_NO_SSLv2|
 SSL_OP_NO_SSLv3|
 SSL_OP_NO_TLSv1|
 SSL_OP_NO_TLSv1_1

So how to call this from the libcurl code or is there any alternative to
enable this using curl set options .

--Indra

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-30