I am running PHP 7.1 on Windows and seeing a weird behavior. When using cURL to make API calls, everything seems to work for a little bit. After some random interval, the calls start failing with this error.
cURL error 77: error setting certificate verify locations: CAfile: c:\<path intentionally removed>\cacert.pem CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
Restarting Apache seems to fix the issue. Then after some random time, it starts showing up again for no obvious reason. Does anyone know what might be going on here?