CURLOPT_SSL_VERIFYHOST value should be 2, not 1.

PHP docs: "Support for value 1 removed in cURL 7.28.1"