laravel中Guzzle unable to get local issuer certificate错误信息

当本地curl需要访问https时,出现SSL certificate: unable to get local issuer certificate错误信息

解决办法:

到http://curl.haxx.se/ca/cacert.pem下载pem文件,并将文件拷贝到D:phpStudyPHPTutorialcacert.pem

在php.ini
增加
curl.cainfo = "D:phpStudyPHPTutorialcacert.pem"

原文地址:https://www.cnblogs.com/greycdoer0/p/12206350.html