• 周六. 7 月 27th, 2024

    cURL error 60: SSL certificate problem: unable to get local issuer certificate 解决思路

    root

    12 月 14, 2021 #php

    php5.6以上的版本会出现这种问题

    解决办法:

    访问https://curl.haxx.se/docs/caextract.html,下载cacert.pem,并在php.ini文件添加

    curl.cainfo = "C:/LAMP/php/cacert.pem"
    openssl.cafile="C:/LAMP/php/cacert.pem"

    root