Docker-ce repo fails to install

Hello, for years installing download.docker.com/linux/centos/docker-ce.repo has worked without any issues.
starting a couple weeks or so back, I started seeing this error.

I’m hoping someone can point me in a direction to start troubleshooting this:

#> dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
Adding repo from: hxx://download.docker.com/linux/centos/docker-ce.repo
Curl error (60): Peer certificate cannot be authenticated with given CA certificates for hxx://download.docker.com/linux/centos/docker-ce.repo [SSL certificate problem: unable to get local issuer certificate]
Error: Configuration of repo failed

hxx=h t t p s
Thanks

Hi reapur,

I don’t see this issue on Rocky 8 and 9, could you check which certificate your endpoints delivers?
2 options:

# curl -vvv https://download.docker.com/linux/centos/docker-ce.repo
# openssl s_client -connect download.docker.com:443

I kind of suspect either your system is missing updates, or your network does use SSL-Inspection

Thanks lumarel,
I’ll inspect the output and see if I can make sense of this.

regards

just to close this out. It was a proxy filtering issue.

cheers

1 Like