cURL / Mailing Lists / curl-library / Single Mail

curl-library

TLS1.2 from TLS1.0

From: Praveen Pvs <meetpraveenpvs_at_gmail.com>
Date: Sun, 26 Jul 2015 19:51:21 +0530

Hi,

I need your help to move to TLS1.2 from TLS1.0.

We are having client based application running on Linux machine.

According to new requirements, we need to support TLS1.2, from the server
team we have received information that if they disable TLS1.0 totally,
initial handshake is failing.

How to make our terminal to use TLS1.2

We are setting in our code to use *CURL_SSLVERSION_TLSv1*

/* To set preferred TLS/SSL version */

curl_easy_setopt(loccurlHandle, *CURLOPT_SSLVERSION*,
*CURL_SSLVERSION_TLSv1*);

According to the following link, it should use TLSv1.x

http://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html

As per my understanding, it should auto-negotiates up to the highest at
time of connection.

Am is missing something here? We are using 7.21 version of CURL library.

Regards
Praveen

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-26