Podman Login Fails Due to Missing SAN in Certificate
Issue
- Command podman login
fails with below error:
# podman login <registry_DNS>
Username: registryuser
Password:
Error: authenticating creds for "<registry_DNS>": pinging container registry <registry_DNS>: Get "https://<registry_DNS>/v2/": tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match <registry_DNS>
Environment
- RHEL 8 and later versions
- podman 5.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.