限时免费试用:欢迎注册 api.bigmodel.org ,快速体验大模型 API 接入服务。
当前位置:首页 >前端技术 >Html/Css

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

分类:Html/Css时间:2019-12-17浏览:2866
错误提示:cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)  解决方案: 在这里下载最新的curl认可证书:https://curl.haxx.se/ca/cacert.pem 保存cacert.pem文件在一个可以引入的目录。 然后,在php.ini文件中,向下滚动到找到[curl]的位置。 您应该看到CURLOPT_CAINFO选项被注释掉了。取消注释并指向cacert.pem文件。你应该有这样一行:  然后重启服务器
本站文章如未注明出处均为原创,转载请注明出处,如有侵权请邮件联系站长。
0/500
Share your thoughts respectfully.