Get https://ghcr.io/v2/: x509: certificate signed by unknown authority

I’m getting an SSL error when trying to pull an image from GitHub Container Registry

sudo docker pull ghcr.io/github/super-linter:latest
Error response from daemon: Get https://ghcr.io/v2/: x509: certificate signed by unknown authority

This also happens when i attempt to login to GHCR

sudo docker login https://ghcr.io
Username: schizoid90
Password:
Error response from daemon: Get https://ghcr.io/v2/: x509: certificate signed by unknown authority

Obviously, this is stopping me from downloading images

Our certificate is somewhat new which may mean that the machine you’re using needs to be updated. We haven’t seen others with this error yet. Keep us posted if you find a solution and we’ll continue looking on our side.

I’ve updated the machine and rebooted

Now running Ubuntu 18.04.5 but still getting the error

I think there is some other cause. We have a fortinet firewall in our network that seems to be filtering the ghcr.io domain. I’ve raised a request to get this allowed.

1 Like

Getting the filter removed seems to have done the trick. Now on to the next issue