원인
ca-bundles.crt가 너무 오래되면 생기는 오류이다
최신 버전의 CentOS로 업그레이드하지 않을 거라면 다른 방법으로 해결한다.
해결
해결 방법은 epel.repo를 https 사용에서 http로 변경하는 것이다.
[root@centos1 centos]# yum -y update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
http://download.fedoraproject.org/pub/epel/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
# sudo sed -i 's/https/http/g' /etc/yum.repos.d/epel.repo
# yum clean all
# yum -y update 하면 해결된다