Answer the question
In order to leave comments, you need to log in
Curl 7.29 works with tls v1.2?
Hello everyone, there is one strange moment, I read in the documentation that curl supports the tls v1.2 protocol from version 7.34
--tlsv1.2
(TLS) Forces curl to use TLS version 1.2 or later when connecting to a remote TLS server.
Added in 7.34.0.
But despite this, when I make a request like
curl --tlsv1.2 https://tlstest.paypal.com/
or via php
php -r '$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, " https://tlstest.paypal.com/ "); curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2); var_dump(curl_exec($ch)); var_dump(curl_error($ch));'
Result is always successful
PayPal_Connection_OK
bool(true)
The crux of the matter is, does 7.29 support connection via tls v 1.2 or not?
If not, why does it work for me?
because if it works, then I will not update and do unnecessary actions on the server.
Answer the question
In order to leave comments, you need to log in
You copied and pasted a key from the mana that forces you to use TLS 1.2. Nobody says that its support was added in this version. Also, of course, it depends on the library that is used to work with SSL.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question