The podman login to the mirror registry fails and an error "x509: certificate relies on legacy Common Name field" is printed.

Solution Unverified - Updated -

Issue

  • The podman login to the mirror registry fails and an error "x509: certificate relies on legacy Common Name field" is printed.

Environment

  • Red Hat Enterprise Linux 8
  • podman-3
  • Container registory use self-signed certificates that do not set a Subject Alternative Name.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content