Tag: Debugging

cURL error 77: error setting certificate verify locations: CAfile

I recently started randomly seeing the following error in a development environment for a PHP application that I am maintaining.

cURL error 77: error setting certificate verify locations: CAfile: c:\<<Path removed>>\cacert.pem CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

What was weird was that the CA file existed at the path that was shown in the error.  Restarting Apache seemed to fix the issue for a little bit, but then the issue would come back.

Read full post… “cURL error 77: error setting certificate verify locations: CAfile”