[Satellite6] Getting 401 Unauthorized Error During Red Hat Satellite Capsule Installer

Solution Verified - Updated -

Issue

  • Running the Capsule Server installer command returns 401 error:

    /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]: Could not evaluate: Proxy capsule.example.com cannot be retrieved: unknown error (response 401)
    
     /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]: Could not evaluate: 401 Unauthorized: {
     /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]: Failed to call refresh: 401 Unauthorized: {
     /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]: 401 Unauthorized
    
    /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]: 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
    2023-09-27 11:34:34 [DEBUG ] [root] Exit with status code: 6 (signal was 6)
    

Environment

  • Red Hat Satellite 6
  • Red Hat Satellite Capsule 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