Set curl options CURLOPT_SSL_VERIFYHOST to use value 1 instead of 2

Explanation:1 to check the existence of a common name in the SSL peer
certificate. 2 to check the existence of a common name and also verify
that it matches the host name provided.