Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERR_CERT_DATE_INVALID with domain ‘https://eastasia.data.mcr.microsoft.com/’; #3896

Closed
wu-yafeng opened this issue Jul 2, 2022 · 3 comments

Comments

@wu-yafeng
Copy link

Describe the Bug

could not build docker file with pull aspnet docker image due to cert expired with domain https://eastasia.data.mcr.microsoft.com/

Steps to Reproduce

docker build .

Other Information

[internal] load build definition from Dockerfile
[11:31:20] #1 sha256:2a10181e588f7048fa18d467f12cd50a9d8c64423f30d200124483fd33f22590
[11:31:20] #1 transferring dockerfile: 811B done
[11:31:20] #1 DONE 0.0s
[11:31:20]
[11:31:20] #2 [internal] load .dockerignore
[11:31:20] #2 sha256:8ee93278687c3b1e4a29f287bfeef7dc253126ae61887ebfc913af642e9a6091
[11:31:20] #2 transferring context: 358B done
[11:31:20] #2 DONE 0.0s
[11:31:20]
[11:31:20] #4 [internal] load metadata for mcr.microsoft.com/dotnet/aspnet:6.0
[11:31:20] #4 sha256:ac4494cbca04ddb415c76edcbcc7688784c2a6ea65dd656286c013738aa3b75f
[11:31:23] #4 ERROR: failed to copy: httpReadSeeker: failed open: failed to do request: Get https://eastasia.data.mcr.microsoft.com/b29889755b1f4e46b6b44eb3182530c5-0joxcrfl25//docker/registry/v2/blobs/sha256/e3/e3f3ae957ae9b3a336cb3e1b4e6d2ffeea2334b13ba1fed1dd969e4528d17acb/data?se=2022-07-02T03%3A51%3A22Z&sig=0sEjMRIdZG93ciJZqx3PlDd0bopgrIEXUjYY3jo8a1E%3D&sp=r&spr=https&sr=b&sv=2016-05-31&regid=b29889755b1f4e46b6b44eb3182530c5: x509: certificate has expired or is not yet valid
[11:31:23]
[11:31:23] #3 [internal] load metadata for mcr.microsoft.com/dotnet/sdk:6.0
[11:31:23] #3 sha256:9eb4f6c3944cfcbfe18b9f1a753c769fc35341309a8d4a21f8937f47e94c712b
[11:31:23] #3 CANCELED
[11:31:23] ------
[11:31:23] > [internal] load metadata for mcr.microsoft.com/dotnet/aspnet:6.0:
[11:31:23] ------
[11:31:23] error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to copy: httpReadSeeker: failed open: failed to do request: Get https://eastasia.data.mcr.microsoft.com/b29889755b1f4e46b6b44eb3182530c5-0joxcrfl25//docker/registry/v2/blobs/sha256/e3/e3f3ae957ae9b3a336cb3e1b4e6d2ffeea2334b13ba1fed1dd969e4528d17acb/data?se=2022-07-02T03%3A51%3A22Z&sig=0sEjMRIdZG93ciJZqx3PlDd0bopgrIEXUjYY3jo8a1E%3D&sp=r&spr=https&sr=b&sv=2016-05-31&regid=b29889755b1f4e46b6b44eb3182530c5: x509: certificate has expired or is not yet valid
[11:31:23] [ERROR] BUILD ERROR

Output of docker version

Output of docker info

@richlander
Copy link
Member

Sorry to hear that! I reported it to the right folks.

@redochenzhen
Copy link

same error

@mthalman
Copy link
Member

mthalman commented Jul 2, 2022

Duplicate of microsoft/containerregistry#121

@mthalman mthalman marked this as a duplicate of microsoft/containerregistry#121 Jul 2, 2022
@mthalman mthalman closed this as not planned Won't fix, can't repro, duplicate, stale Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants