I have a server behind a company proxy, and I wanted to register this server to the Red Hat Customer Portal using subscription-manager. The company proxy uses a username and password. The company proxy is configured to do SSL Inspection. I entered the proxy data in /etc/rhsm/rhsm.conf, and tried to register the server with 'insecure = 0' in /etc/rhsm/rhsm.conf, and registration failed with this message returned:
Forbidden: Invalid credentials for request.
I then changed the 'insecure' parameter in /etc/rhsm/rhsm.conf to 'insecure = 1', and tried again to register the server, and still the registration fails with the same message returned.
This happened while I can access the Red Hat Customer Portal using the same credentials I used with Subscription Manager.
The registration was only successful after I disabled SSL Inspection on the corporate firewall. However, I would expect the registration in this case would have worked with 'insecure=1' in /etc/rhsm/rhsm.conf, without having to disable SSL Inspection on the corporate firewall.
- Red Hat Enterprise Linux 7.x
- Red Hat Customer Portal
- Subscription Manager
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.