+
95
-

php使用curl请求https报错Peer certificate cannot be authenticated with known CA certificates

php

php使用curl请求https报错Peer certificate cannot be authenticated with known CA certificates


网友回复

+
15
-

关于“SSL证书问题:无法获取本地颁发者证书”错误。显然,这适用于发送CURL请求的系统(并且没有接收请求的服务器)

1)从 https://curl.haxx.se/ca/c...

点击查看剩余70%

+
15
-

还可以自定义cert地址

 $certificate="/data/cert/cacert.pem...

点击查看剩余70%

我知道答案,我要回答