使用php開發微信企業付款的時候,調試代碼提示:cURL error 60: SSL certificate problem: unable to get local issuer certificate。。。錯誤。這是因為沒有配置信任的服務器HTTPS驗證。默認情況下,cURL被設為不信任任何CAs,因此瀏覽器無法通過HTTPs訪問你服務器。解決方案:1)下載cacert.pemhttps://curl.haxx.se/ca/cacert.pem2)復制這個文件到php的安裝目錄下D:\php\php723)配置php.ini[curl]; A default value for the CURLOPT_CAINFO option. This is required to be an; absolute path.curl.cainfo = 'D:\php\php72\cacert.pem'4)重啟web服務器,OK