微信小程序本地支付调试时出现cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)的解决方法
解决方案:
1)下载cacert.pem
https://curl.haxx.se/ca/cacert.pem
2)打开php.ini 搜索curl.cainfo 与 openssl.cafile,将其配置成你自己cacert.pem文件的路径
例如:
curl.cainfo ="D:\wampserver\cacert.pem"
openssl.cafile="D:\wampserver\cacert.pem"
完成!