0

My payment gataway will change the connection protocol using TLS 1.0 or higher.

I have php 5.5 with library CUrl 7.19.7 (NSS/3.16.2.3 Basic ECC), that supports only CURL_SSLVERSION_TLSv1 (according with this link http://curl.haxx.se/libcurl/c/symbols-in-versions.html).

Should be fine too?. What is the difference between set CURL_SSLVERSION_TLSv1 or CURL_SSLVERSION_TLSv1_0.

Thank you very much, for your time

2
  • have you tried searching the difference on internet? Commented Dec 15, 2014 at 15:47
  • Yes but i haven't found nothing Commented Dec 15, 2014 at 15:48

1 Answer 1

1
  • TLSv1: use TLS 1.x, i.e. TLS 1.0, TLS 1.1, TLS 1.2. These might not be all available depending on the underlying implementation.
  • TLSv1_0: use only TLS 1.0, i.e. no TLS 1.1, TLS 1.2 even if the implementation would support this.

If your implementation supports at most TLS 1.0 then both options should have the same effect.

BTW, the very first hit with google when searching for "CURL_SSLVERSION_TLSv1_0 CURL_SSLVERSION_TLSv1" is http://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html which documents these options as:

  • CURL_SSLVERSION_TLSv1: TLS 1.x
  • CURL_SSLVERSION_TLSv1_0: TLS 1.0
Sign up to request clarification or add additional context in comments.

5 Comments

Thanks for the help. Some people noted that the cUrl 7.19.7 version has bugs with CURL_SSLVERSION_TLSv1, probably i will have many problems.
"...some people noted..." - could you be more specific? There is a nice feature of the web called "links" which you could use to point to other information and there is "text" to describe issues. And finally there is "space" to leave all the useful information away. Please make more use of the first two features.
This is not a problem with TLSv1 but a problem with a server only supporting ciphers which the client does not support. I think you should better try to understand what you read. And yes, it's me.
Thanks anyway for the brutal help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.