CURL证书

出现错误

curl: (60) SSL certificate : unable to get local issuer certificate

错误原因 :未正确配置CA证书

证书下载
http://curl.haxx.se/ca/cacert.pem
下载后将证书位置保存在php.ini
curl.cainfo = "d:/wamp/php/cacert.pem"
OK

你可能感兴趣的:(CURL证书)