RequestCoreException: cURL resource: Resource id #67; cURL error: SSL certificate problem: unable to

1) 下载文件 cacert.pem 放置电脑指定目录下 :  C:\Windows\   

2) 从 https://curl.haxx.se/ca/cacert.pem 下载最新的cacert.pem

3) 修改php.ini 在php.ini中增加下行代码:

curl.cainfo = C:\Windows\cacert.pem

4) 重启本地服务器


 

猜你喜欢

转载自blog.csdn.net/cmj8043719242/article/details/87280709