Google Vision SSL certificate problem: unable to get local issuer certificate
GuzzleHttp\Exception\RequestException
Message: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
Solution
In php.ini add or uncomment the line curl.cainfo :
[curl] ; A default value for the CURLOPT_CAINFO option. This is required to be an ; absolute path. curl.cainfo = C:\php-7.4.21\cacert.pem
Download the latest cacert.pem at https://curl.se/ca/cacert.pem
Recent Comments