It's possible your system defaults aren't working for the SSL certificate verification.
You can try turning off the verification with:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
If that works, see http://php.net/manual/en/function.curl-setopt.php and http://curl.haxx.se/docs/sslcerts.html for more information.