403 Forbidden When Attempting To Access Satellite Content
Issue
-
Users are receiving "403 Forbidden" errors when trying to access content from the satellite. Examples:
$ curl -k https://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /pub/katello-ca-consumer-latest.noarch.rpm on this server.</p> </body></html>
$ podman pull satellite.example.com:5000/imageexample:v3 Trying to pull repository satellite.example.com:5000/imageexample ... Pulling repository satellite.example.com:5000/imageexample Error: Status 403 trying to pull repository imageexample: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>403 Forbidden</title>\n</head><body>\n<ℎ1>Forbidden</ℎ1>\n<ρ>You don't have permission to access /v1/repositories/imageexample/images\non this server.</ρ>\n</body></html>\n"
- The above happens when using a web browser,
curl
,yum
and pulling container images withpodman
ordocker
. - The solution in [Satellite 6] Downloading katello-ca-consumer-latest.noarch.rpm or bootstrap.py results in a 403 was done but did not help.
Environment
- Red Hat Satellite 6
- A proxy is between the satellite and clients trying to access it.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.