Curl error: Problem with the ssl ca cert (path access rights ?) Solution, curlcert
Curl error: Problem with the ssl ca cert (path access rights ?) .
Here is the CA problem: first, the CA that issues the server certificate is okay, so it should be a problem with the ca-bandle.crt that curl uses, this means that you have deleted some files in the/etc/pki/tls/certs/directory or set invalid permissions.
$ Yum reinstall openssl ca-certificates-y $ ll/etc/pki/tls/certs/ca-bundle.crt # check whether there is
Then download the latest cacert. pem from this website (https://curl.haxx.se/docs/caextract.html) and rename it to/etc/ssl/certs/ca-certificates.crt
$ Curl -- remote-name -- time-cond cacert. pem https://curl.haxx.se/ca/cacert.pem-O/root/ca-certificates.crt $ cp cacert. pem/etc/ssl/certs/ca-certificates.crt
Finally, restart the php service.