Error x509: certificate relies on legacy Common Name field, use SANs instead in Openshift
Issue
- Some component stops working after upgrading to OCP 4.10
error: unable to push quay.io/openshift-release-dev/ocp-v4.0-art-dev: failed to upload blob sha256:608cfe8580a33a376c92843bd07b2cce574614ac7bff6bddbf03d5f5f44d0b61: Get "https://registry.ocp410.xxx.com:5000/v2/": x509: certificate relies on legacy Common Name field, use SANs instead
status:
conditions:
- lastTransitionTime: "2024-03-XXT07:19:10Z"
message: 'OAuthServerConfigObservationDegraded: failed to apply IDP XXXX config:
tls: failed to verify certificate: x509: certificate relies on legacy Common
Name field, use SANs instead'
Environment
- Red Hat OpenShift Container Platform 4.10 and newer
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.