• make user your server has curl installed and enabled.
• if you are using php and your server doesn’t have an updated certificate, it might be causing this problem. try setting the CURLOPT_SSL_VERIFYPEER to false.
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // don't check certificate