错误cURL error 60: SSL certificate problem: unable to get local issuer certificate 集成微信支付或钉钉扫码时,本地访问接口总是报错(线上公网正常) `cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)` 解决方法 从 https://curl.haxx.se/ca/cacert.pem 下载最新的 cacert.pem 修改了 php.ini ~~~ 新增 curl.cainfo = "D:/soft/phpstudy/PHPTutorial/php/php-7.0.12-nts/ext/ssl/cacert.pem" ~~~ 重启搞定