0
PHP curl funktioniert nicht für https-Anfragen auf Amazon Linux. Dies ist, was ich bekomme, wenn ich eine https-URL curl:cURL funktioniert nicht für HTTPS (Fehler: 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?)
ich verschiedene Dinge ausprobiert, aber kann nicht herausfinden, was das Problem ist. Jede Hilfe wird sehr geschätzt.
Überprüfen Sie, ob Sie die Erweiterung 'php_openssl' in php.ini aktiviert haben – RiggsFolly
Die curl binary und das php curl Modul sind unabhängig voneinander. Das hat nichts mit PHP zu tun, da du curl von bash aus anrufst. – DanFromGermany
Ja, aber das gleiche Zertifikat wird von beiden verwendet und das Problem war mit meinem Zertifikat. – umair