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:\phpStudy\PHPTutorial\cacert.pem
在php.ini
增加
curl.cainfo = "D:\phpStudy\PHPTutorial\cacert.pem"