cancel
Showing results for 
Search instead for 
Did you mean: 
jeffdoug1
Mission Specialist
Mission Specialist
  • 4,386 Views

Podman authentication error

Jump to solution

I have been practicing Podman in RHEL 8 and 9 VMs in VirtualBox for the past couple of months. I've never needed to do anything other than create a user account for Podman to work and I've never had issues connecting with root. I took a break and now I'm getting back into it.  

I'm now seeing the following error whenever I try to log into Podman on a fresh install of RHEL8.9 and RHEL 9.0.

Username: <username>
Password:
Error: authenticating creds for "registry.access.redhat.com": pinging container registry registry.access.redhat.com: Get "https://registry.access.redhat.com/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority

What is causing this and am I missing something that's blocking root and rootless users from using Podman? I'm able to log into my RedHat account with no issues and I'm able to pull patches.  

 

 

Labels (1)
1 Solution

Accepted Solutions
jeffdoug1
Mission Specialist
Mission Specialist
  • 4,282 Views

I actually found that my corporate proxy was causing the issue. 

View solution in original post

3 Replies
Wasim_Raja
Moderator
Moderator
  • 4,323 Views

@jeffdoug1 I tried to this in my local machine and I did not face any issue.

can you run "podman logout --all" and try again.

And make sure to use the RHN ID and password.

0 Kudos
jeffdoug1
Mission Specialist
Mission Specialist
  • 4,283 Views

I actually found that my corporate proxy was causing the issue. 

mansin99
Cadet
Cadet
  • 2,359 Views

the issue is related to resolving the DNS.

If DNS issues persist, you can specify a custom DNS configuration for Podman by editing /etc/containers/containers.conf or /etc/containers/registries.conf and adding the dns entry under the [containers] section, also remove any other DNS entries.

[containers]
dns = ["8.8.8.8", "1.1.1.1"]

then sudo systemctl restart podman


this should resolve the issue

0 Kudos
Join the discussion
You must log in to join this conversation.