0
PHP curl不适用于Amazon Linux上的https请求。这是我所得到的,当我蜷缩的HTTPS URL:cURL不适用于HTTPS(错误:77)
curl -v https://google.com
Rebuilt URL to: https://google.com/
Trying 172.217.3.174...
Connected to google.com (172.217.3.174) port 443 (#0)
Initializing NSS with certpath: sql:/etc/pki/nssdb
Closing connection 0
curl: (77) Problem with the SSL CA cert (path? access rights?)
我曾尝试不同的东西,但无法弄清楚是什么问题。任何帮助都感激不尽。
检查您是否在php.ini – RiggsFolly
的卷曲二进制和PHP的卷曲模块启用'php_openssl'扩展的影响无关。这与PHP无关,因为您正在从bash调用curl。 – DanFromGermany
是的,但两者都使用相同的证书,问题出在我的证书上。 – umair