Login to quay.io failed with Error: logging into "quay.io": invalid username/password in RHOCP4

Solution Verified - Updated -

Issue

  • Podman login to quay.io failing with below error :
$ podman login quay.io --tls-verify=false
Username: username
Password: password
Error: logging into "quay.io": invalid username/password
$ podman login quay.io 
Username: username
Password: password
Error: authenticating creds for "quay.io": pinging container registry quay.io: Get "https://quay.io/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4

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