Replacing SSL certificate for Mirror Registry for Red Hat OpenShift
Issue
-
Pulls from the OMR are failing because the certificate has expired:
# skopeo copy docker://quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:d46f5... docker://OMR_HOSTNAME:8443/ocp4.14.16/openshift/release@sha256:d46f5c02... Getting image source signatures FATA[0002] trying to reuse blob sha256:ca1636478fe5b8e2a56600e24d6759147feb15020824334f4a798c1cb6ed58e2 at destination: pinging container registry OMR_HOSTNAME:8443: Get "https://OMR_HOSTNAME:8443/v2/": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2024-06-19T20:26:26+05:30 is after 2024-06-09T13:10:54Z
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Mirror Registry for Red Hat OpenShift
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.