the easiest way (workaround) is to set the curl options to disable the cert verification
$curl_handle = curl_init("https://host/path");
curl_setopt($curl_handle , CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl_handle , CURLOPT_SSL_VERIFYHOST, false);
note: if this workaround is a real security issue for you, you should create trusted certificate, or at add the CA to your trusted ones. google for CURLOPT_CAINFO, set the PEM file (use this one or another trusted one) and append the server's PEM certificate in it)