LINUX CENTOS 6.3 – 14:Pycurl Error 77 – Yum repository error

centoslinux

I have a new install of Centos 6.3 64 bit and receive this error when I try to do a yum erase of any httpd.

Could not retrieve the mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 77 – "Problem with the SSL CA Cert (path? access rights?)"
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again.

Best Answer

it is possible your /etc/pki/tls/certs/ is messed up. Back up all files in there first, and then download new certificate bundle, as described here:

curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt