I'm not a SSL expert, but I checked with -v to curl for that URL, and it
is accepted TLS1.0 connections only.

So I told your script to do the same:

curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_0);

And your script then worked. I'm assuming this means that without this
option, your script is attemping to connect with SSLv2 or SSLv3 by
default.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1594793

Title:
  Curl extension doenst use CURLOPT_SSL_VERIFYPEER as expected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1594793/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to