Redhat - No repositories available

I’ve uploaded a Redhat manifest to foreman and the list of repos are visible however when i click on one to enable it I get the message “No repositories available.”

I have tested connectivity from the “HTTP Proxies” option which works to connect to the default https://aws.amazon.com however when trying to connect to https://cdn.redhat.com i get the error “SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)”

from the OS i am able to connect to redhat and download rpm’s it just seems to be specifically as issue in foreman, maybe its a simple fix but i cant find it.

Foreman 2.5

Distribution and version:
RHEL 7.9

Any help would be greatly appreciated

When creating the manifest, did you choose the correct Satellite version? Is the URL https? I had a similar problem last week and changing this fixed it.

Hi Dirk, thanks for your response, you’ll have to excuse my ignorance with this. So I don’t have a license for Satellite, I just have a RHEL license which I assumed I could export in a manifest and use that to download repos. is this not the case?

Can you try ‘refreshing’ your manifest from the subscriptions page? That will both confirm connectivity as well as pull down the latest certs that are available to use for syncing and enabling RH repos.

Hi Justin, do you mean deleting and re-importing? I have done that in foreman a couple of times but i still seem to get “No repositories available”

Hi All,

just a quick update to say i found a post eventually that led me to the solution:

cd /etc/foreman
cp proxy_ca.pem proxy_ca_bkp.pem
cp /root/ssl-build/katello-default-ca.crt ./proxy_ca.pem

thanks for the help