1. 程式人生 > >[PHP] curl: (60) SSL certificate problem: unable to get local issuer certificate

[PHP] curl: (60) SSL certificate problem: unable to get local issuer certificate

art src 授權 targe 解決 href lan ini san

對接微信授權的時候提示這個錯誤

從https://curl.haxx.se/ca/cacert.pem下載cacert.pem

在 php.ini中修改位置(curl.cainfo)如下:

技術分享圖片

重啟後問題解決。故作記錄,以備後來

更多解決方案參考

http://blog.csdn.net/sanbingyutuoniao123/article/details/71124655

[PHP] curl: (60) SSL certificate problem: unable to get local issuer certificate