docker installation failure "certificate has expired or is not yet valid"

Because I failed to install qiime via conda, I tried docker to install qiime2 on CentOS7.
The error messages appeared when I pull the docker image.

"(base) [10:26:29] ccchen ➜ ~» docker pull Quay
Trying to pull repository Quay ...
2022.8: Pulling from Quay
42c077c10790: Pulling fs layer
1a23c9d790a3: Pulling fs layer
22a6fc63b9b5: Pulling fs layer
42b7f294ddbd: Waiting
206e727c2a9c: Waiting
3d51d16b3fd6: Waiting
error pulling image configuration: Get https://cdn03.quay.io/sha256/7e/7e70b34497baff7858c3228b19667785cb90febb3a59aba15f4af889d0fd2e15?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAI5LUAQGPZRPNKSJA%2F20221217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221217T022640Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=ec99f384256fe84a84c84a6ad570d44b97934132a5cd4aa2548d53b6d3700448&cf_sign=VyM6VrgwO0bug4EETl1PLW9e0809LxvqkSbNrAdtxjBD4HzRtbrZZn%2FCRM9qzzo3uMYCkl5T4%2FayPWI3vRLZZHdyqcY6IFEDWwdewBbdPNcyXkHhQbu1czlf03wMo3E%2BuHr%2Fqm4TgBZIsNR5xRW5HaMMTZcY2mxmqIdy1UPRCukTh4jmJ%2BlK3UdGKMmDh9EHpRejf5%2F1aM3a1BiOVhkDWQKmUUTUlxMiUecNwDNbBy91E5tZUEmSX8oK0yw9vSdNUMvKIfvXDoAeU3s6ai4RZMMKbHHFsk3O6p7AqhdQyJhUjNEc%2FOtOUNMX3u8nUBSWyvF6yzZXAPPNbpuJqB%2BNKQ%3D%3D&cf_expiry=1671244600&region=us-east-1: x509: certificate has expired or is not yet valid"

I've checked and updated my machine time with ntpdate.
How to solve the problem?

Have you tried restarting Docker Daemon completely?

Cheers,
Valentyn

Thank you Valentyn
I've regenerated the cert and restarted the docker. It works!

2 Likes

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.