システム登録時に "http error 401-unauthorized:invalid username or password error" が発生する
Environment
- Red Hat Enterprise Linux
- Red Hat Subscription Management (RHSM)
Issue
subscription-manager register
コマンドを使用してクライアントマシンをカスタマーポータルに登録するときに、以下のエラーが発生することがあります。
# subscription-manager register --username "xxxxxx"--password "xxxxxxxx"
Registering to: subscription.rhsm.redhat.com:443/subscription
HTTP error (401 - Unauthorized): Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html
- RHSM にシステムを登録しようとすると、
invalid username or password
が表示されます。
Resolution
- subscription-manager (RHSM) にシステムを正常に登録するためには、パスワードに空白やハイフンを使用しないようにする必要があります。
- パスワードにスペースが含まれている場合、パスワードをリセットします。
パスワードをリセットするには こちら をクリックしてください。
Root Cause
Subscription-manager (RHSM) は、パスワードに空白やハイフンが追加されているとその値を適用しません。代替案として、特殊文字の追加をご検討ください。
Diagnostic Steps
パスワードに空白やハイフンが含まれていないか確認します。
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.