401 Unauthorized: Often this is caused by invalid Oauth credentials sent to Foreman
Issue
Proposed oauth key and secret by capsule-certs-generate are not the correct ones.
When proposed satellite-installer command is used on Capsule, installation fails with error as below
Error making GET request to Foreman at https://satellite-example.com/api/v2/smart_proxies: Response: 401 Unauthorized: Often this is caused by invalid Oauth credentials sent to Foreman at satellite-example.com
Evaluated in 0.09 seconds
Environment
- Red Hat Satellite 6.*
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.