Buy Me a Coffee
Illustration of a Docker registry with certificate error

[Docker] Why Your Self-Hosted Docker Registry Fails with `x509: certificate signed by unknown authority`

Setting up your own Docker registry using tools like Harbor can be incredibly satisfying. However, one common problem you may encounter is: x509: certificate signed by unknown authority If you’re tempted to blame a server misconfiguration or your reverse proxy, hold that thought. The issue usually stems from the client not recognizing the Certificate Authority (CA) that signed the server’s certificate. Let’s dive into why this happens and how to set things right. ...

[Wget] Unable to locally verify the issuer's authority

1. Error This issue happens when I run the command wget https://github.com/docker/compose/releases/download/v2.10.2/docker-compose-linux-x86_64 in my Ubuntu WSL. The completed error looks like below: The extracted error is >> connected. >> ERROR: cannot verify objects.githubusercontent.com's certificate, issued by ‘CN=ospanel’: >> Unable to locally verify the issuer's authority. >> ERROR: certificate common name ‘localhost’ doesn't match requested host name ‘objects.githubusercontent.com’. >> To connect to objects.githubusercontent.com insecurely, use `--no-check-certificate'. You can see there are basically four highlight errors above and many answers for each error if you google them. I had tried the below workarounds in WSL: ...

DigitalOcean Referral Badge
Sign up to get $200, 60-day account credit !