note 111525 deleted from function.curl-setopt by danbrown
| From: | danbrown@php.net | Date: | Mon, 04 Mar 2013 17:44:34 +0000 |
| Subject: | note 111525 deleted from function.curl-setopt by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193817@lists.php.net to get a copy of this message | ||
Note Submitter: Naradana
----
In addition to what we learned from rmckay, you may use this cURL option:
curl_setopt($ch, CURLOPT_CAINFO, $cacertsFilePath);
$cacertsFilePath must be an absolute path to the cacert.pem file. Make sure the PHP process has
sufficient access rights to this path.
Btw. the option CAPATH, as suggested by
http://curl.haxx.se/docs/sslcerts.html
did not work for me (maybe because I'm using Windows?)