如果做接口请求出现 SSL certificate problem: unable to get local issuer certificate (SSL证书问题:无法获得本地颁发者证书)
解决方法: 下载 cacert.pem https://curl.haxx.se/ca/cacert.pem 配置php.ini curl.cainfo=/downloadpath/cacert.pem 然后重启即可
博客列表 >SLL 证书问题
如果做接口请求出现 SSL certificate problem: unable to get local issuer certificate (SSL证书问题:无法获得本地颁发者证书)
解决方法: 下载 cacert.pem https://curl.haxx.se/ca/cacert.pem 配置php.ini curl.cainfo=/downloadpath/cacert.pem 然后重启即可