I get the following error when trying to get the container image from the registry registry.lab.example.com
tls: failed to verify certificate: x509: certificate relies on legacy Common Name field, use SANs instead
Is there a bug in the lab?
registry.lab.example.com
RESOLVED.
issue: attempting to "podman run ...." as root@serverb will cause this issue.
as per solution: podsvc@serverb can "podman run ...." without any issues.
@anonymous3 I dont think so there is a bug in the lab - can you recreate your lab and retry the same lab exercise ?
Im getting the exact same error.
Error:
Trying to pull registry.lab.example.com/rhel9/httpd:24:latest...
Error: initializing soruce docker://registry.lab.example.com/rhel9/httpd-24:latest: pinging container registry registry.lab.example.com: Get "https://registry.lab.example.com/v2/": tls: failed to verify certificate: x509 certificate relies on legacy COmmon Name filed, use SANs instead.
RESOLVED.
issue: attempting to "podman run ...." as root@serverb will cause this issue.
as per solution: podsvc@serverb can "podman run ...." without any issues.
@87951469 glad that you figured out the issue with the user with which you are running the podman run command.
Now this is what we call troubleshooting ! kudos !
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.