Docker Community Forums

Share and learn in the Docker community.

X509: certificate has expired error


#1

Hi, I am getting x509: certificate has expired error when tried to build container in Docker CE versions - 18.01, 18.09 in Linux System.Please help me in this… Thanks you.
Error logs :
++++++++++++++++++++++++++++++++++++++++++++++++++
Unable to find image ‘hello-world:latest’ locally
latest: Pulling from library/hello-world
1b930d010525: Pulling fs layer
docker: error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/fc/fce289e99eb9bca977dae136fbe2a82b6b7d4c372474c9235adc1741675f587e/data?verify=1548847609-Uh7lLLiUyI6z3%2FCUDIxiQJPjpI0%3D: x509: certificate has expired or is not yet valid.
++++++++++++++++++++++++++++++++++++++++++++++


(Metin Y.) #2

Try updating the ca-certificates package of your os, it seems to be outdated.