Registering host to Red Hat Satellite 6 using Global Registration Template fails with ERROR: unauthorized
Issue
-
Registering a host to the
Red Hat Satelliteserver usingcurlcommand generated usingGlobal Registration Templatemethod fails with below error:# set -o pipefail && curl -sS 'https://capsule.exampe.com:9090/register? activation_keys=Prod_9&hostgroup_id=4&location_id=2&operatingsystem_id=34&organization_id=1&update_packages=false' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo4LCJpYXQiOjE3NTI0NTc3NDYsImp0aSI6IjBlMDkxZTY1NzJjYjBiYmQ2OThhYzQ5ZGFlNTk5Yjk0N2Q4OTUyNzFjZTJlOWY5NTAxZjMxNGRiMmExMjFjOWIi LCJleHAiOjE3NTI0NzIxNDYsInNjb3BlIjoicmVnaXN0cmF0aW9uI2dsb2JhbCByZWdpc3RyYXRpb24jaG9zdCJ9.C8ladK0cJ02C2gFmoH_m3ncD5pXOhnPsrfCqw6DALVY' | bash ERROR: unauthorized JWT SSO: Expired JWT token.
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.