cURL error 60: SSL certificate problem: unable to get local issuer certificate(转)亲测
Posted shuaiandjun
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cURL error 60: SSL certificate problem: unable to get local issuer certificate(转)亲测相关的知识,希望对你有一定的参考价值。
php5.6以上的版本会出现这种问题
解决办法:
【开启拓展】
extension=curl
extension=openssl
【配置证书】
访问https://curl.haxx.se/docs/caextract.html,下载cacert.pem,并在php.ini文件添加
curl.cainfo="XXXXXXX/cacert.pem" //配置相应的路径
openssl.cafile="XXXXXXX/cacert.pem" //配置相应的路径
以上是关于cURL error 60: SSL certificate problem: unable to get local issuer certificate(转)亲测的主要内容,如果未能解决你的问题,请参考以下文章
cURL error 60: SSL certificate problem: unable to get local issuer certificate(转)亲测
cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx
cURL error 60: SSL certificate problem: unable to get local issuer certifica 解决
Not hacking CurlException: 60 (cURL SSL Certificate Verification)
cURL error 60: SSL certificate problem: unable to get local issuer certifica