1,安装 epel-release
yum clean all
yum install -y epel-release
2,更新ca-certficates包
yum --disablerepo=epel -y update ca-certificates
3,https改为http
cp /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.bak
sed -i 's#https://#http://#g' /etc/yum.repos.d/epel.repo
4,更改resolve.conf文件
nameserver 8.8.8.8