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 文件存在,请问怎么解决?
1 回答4k 阅读✓ 已解决
3 回答1.8k 阅读✓ 已解决
2 回答2.2k 阅读✓ 已解决
1 回答1.4k 阅读✓ 已解决
2 回答2.2k 阅读
3 回答1.5k 阅读
1 回答569 阅读✓ 已解决
win下面php的curl请求https站点,需要设置证书。
放到目录,比如d:/ssl/cacert.pem,再重启web服务器。
网上下载地址:https://curl.haxx.se/docs/cae...