How to fix PHP Curl Error Number 77 (CentOS/RHEL 7)
by Danila Vershinin, , revisited on
GetPageSpeed keeps NGINX and Varnish servers fast and secure: performance modules and builds, plus security fixes within days, all through routine
Free to install; commercial production use requires a subscription.
dnf, yum or apt upgrades. It maintains the largest RPM repository of NGINX module packages and Varnish VMODs, with APT packages for Debian and Ubuntu.
Free to install; commercial production use requires a subscription.
Curl Error Number 77 is:
Problem with reading the SSL CA cert (path? access rights?)
After upgrading ca-certificates package, the PHP-FPM has to re-read the /etc/pki/tls/cert.pem old file. A restart is the best way to ensure it does
Solution #1
Restart PHP-FPM:
sudo systemctl restart php-fpm