Centos: Solving SSL connection error to EPEL repository

Attention: open in a new window. PDFPrintE-mail

 

the old Centos version like 6.X is commonly have encounter following error message while connecting to epel repository:

Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64 error was
14: problem making ssl connection



Root cause of this issue is old distribution of package certificate authority, ssl and nss. Then update these packages may fix it.

 

1
2
3
# you may disable epel repo if it's blocking to update the latest package list
yum check-update
yum update ca-certificates openssl nss-*

Then try to access the epel mirror list site using curl, make sure it's can grab the HTML content.

1
curl -v https://mirrors.fedoraproject.org