401 Unauthorized: Often this is caused by invalid Oauth credentials sent to Foreman

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content