Hello I have download the minimal release of CENTOS 7 at this url link download ISO centos 7.x
All work correctly...the PING and the network is OK. I ping to external HO
I had this problem in a company environment with MITM proxy after adding the EPEL repo with
yum install epel-release
This doesn't happen before (e.g. on yum update
). I checked all answers and none of them fixed my problem.
Figured out that the other repos use http by default, where epel use https:
# grep mirror /etc/yum.repos.d/epel.repo
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch&infra=$infra&content=$contentdir
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch&infra=$infra&content=$contentdir
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch&infra=$infra&content=$contentdir
So I copied our company root CA in the CentOS trust store and update it:
cp /home/user/my-ca.crt /etc/pki/ca-trust/source/anchors/
update-ca-trust
After adding the cert, updating and installing packages from the EPEL repo works fine!