当前位置:首页 » 互联网资讯 » 正文

阿里云发送短信提示 curl error 60: ssl certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

阿里云短信开发好之后,点击发送短信提示:curl error 60: ssl certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

问题主要是由于缺少根证书,然后curl无法访问https
解决方案:给服务器增加一个cacert.pem根证书

阿里云发送短信提示 curl error 60: ssl certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)阿里云发送短信提示 curl error 60: ssl certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

1.下载证书 https://curl.haxx.se/ca/cacert.pem
2.上传服务器,任意位置
比如:D:\php\cacert.pem
3.打开PHP.ini在源码生成app软件最后一行写入curl.cainfo=”D:\php\cacert.pem”
只有保存,并重启服务器



阿里云发送短信提示 curl error 60: ssl certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)阿里云发送短信提示 curl error 60: ssl certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
图打开PHP.ini在最后一行写入curl.cainfo=”D:\php\cacert.pem”

网站一键生成app

编辑:娜娜,如若转载,请注明出处:https://www.yimenapp.com/kb-yimen/4229/

部分内容来自网络投稿,如有侵权联系立删

未经允许不得转载:一门应用 » 阿里云发送短信提示 curl error 60: ssl certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
分享到

相关推荐

联系我们

微信公众号

yimendabao

关注官方微信,了解最新资讯

客服QQ
4001658508

企业QQ,点击发起咨询