Certificate error

Problem to solve

I’m trying to build a docker image through gitlab pipeline.
My base image is the official openjdk:21-jdk image.
When pulling the image, gitlab generates an error.

Do you guys have any idea why ?

-------------- stacktrace -----------------

Step 1 : FROM openjdk:21-jdk

3321-jdk: Pulling from library/openjdk

345262579e8e45: Pulling fs layer

350eab4e2287a5: Pulling fs layer

367c002e8f6062: Pulling fs layer

37error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/07/079114de2be199f2ae0f7766ac0187d24a0c3a2d658fc51bffc6af5b8bd85469/data?verify=1712910236-65bqHAOI6Gb6ZwgiZM%2BalCXWRUk%3D: x509: certificate has expired or is not yet valid

Versions

Please select whether options apply, and add the version information.

I have same problem, did you find out solution?

I have the same issue for building a Docker image with FROM node:21-alpine.

Still no resolution. The problem comes from gitlab which has not renewed its certificates on their agent runners ! It’s not the forst time it happens. It’s really ennoying.
I sometimes think of leaving gitlab for that kind of reasons …