windows下通过证书的方式进行curl请求https链接失败,提示如下:
error setting certificate verify locations:
CAfile: E:\phpStudy\cacert.pem
CApath: none
E:phpStudycacert.pem 文件存在,请问怎么解决?
windows下通过证书的方式进行curl请求https链接失败,提示如下:
error setting certificate verify locations:
CAfile: E:\phpStudy\cacert.pem
CApath: none
E:phpStudycacert.pem 文件存在,请问怎么解决?
2 回答2.5k 阅读✓ 已解决
2 回答1.1k 阅读✓ 已解决
3 回答1.7k 阅读
1 回答693 阅读✓ 已解决
1 回答853 阅读✓ 已解决
2 回答536 阅读✓ 已解决
3 回答893 阅读
win下面php的curl请求https站点,需要设置证书。
放到目录,比如d:/ssl/cacert.pem,再重启web服务器。
网上下载地址:https://curl.haxx.se/docs/cae...