tls: failed to verify certificate: x509: certificate signed by unknown authority [closed]

after pulling docker from dockerhub
f22ccc0b8772: Retrying in 1 second
3cf8fb62ba5f: Retrying in 1 second
e80c964ece6a: Retrying in 1 second
tls: failed to verify certificate: x509: certificate signed by unknown authority

reinstall ca certificate

  • The error means what it says; the host you connected to is signed by a certificate that isn’t ultimately signed by something in your CA store. This could be because your OS is out-of-date and is missing CA store updates. Or it could be because someone at your ISP is running a MITM attack against you and substituting a fake dockerhub server, hoping you’ll just turn on insecure mode and trust an untrustworthy server to give you code to run.

    – 




Leave a Comment