It turns out that the WAMP php.ini file that had the cacert installed was not the ini file that was used by the php cli, and I've updated that one to include the cert and it is working now.
Jan 5, 2018
1
Level 1
Queued Job Failing due to CURL Cert Issue (Have installed cacert.pem)
I'm using Guzzle for CURL on both the public pages and I am currently setting up a Job to process in the background. The public facing pages work fine with CURL.
I've set up the cacert.pem file as recommended by other threads, and Guzzle/CURL is working fine on the standard pages, however, for the Job, I am getting the CURL certificate problem.
GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:\wamp64\www\heartbeat\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:187
The Job handle function is calling a static function in a separate class to process the request and then stores the request.
Level 1
Please or to participate in this conversation.