且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Ubuntu php 7.2 Laravel cURL 错误 60:SSL 证书问题:无法获取本地颁发者证书,请参阅 http://curl.haxx.se

更新时间:2022-05-27 22:22:17

我认为是查找证书的 curl 问题.

I think is a curl problem to find the certificates.

所以尝试在php.ini中修改这个选项(需要绝对路径):

So try to change in php.ini this option (it requires an absolute path):

curl.cainfo = "/etc/ssl/certs/cacert.pem"