使用腾讯云cos存储对象时候突然报这个setting certificate verify locations错误,后面查看了/usr/local/ssl/目录下cert文件居然没有内容了。
GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations:
CAfile: /usr/local/ssl/cert.pem
CApath: none (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
cd /usr/local/ssl/
wget https://curl.haxx.se/ca/cacert.pem
rm -rf ./cert.pem
cp cacert.pem cert.pem