本地环境伪造ssl证书
- 看到报错:
curl: (60) SSL certificate problem: unable to get local issuer certificate
- 下载证书
https://curl.haxx.se/ca/cacert.pem
,一般放在
D:/wamp64/bin/php/php7.1.9/extras/ssl/cacert.pem
- 配置php.ini
- 重启服务
curl: (60) SSL certificate problem: unable to get local issuer certificate
D:/wamp64/bin/php/php7.1.9/extras/ssl/cacert.pem