Linux/RedHat
Red Hat Unknown server reply
bong2.
2025. 1. 24. 09:04
레드햇 구독권 등록 시 400 bad request 오류가 발생하는 경우
[root@localhost ~]# subscription-manager register --force
Unregistering from: subscription.rhsm.redhat.com:443/subscription
Unknown server reply (HTTP error code 400: Bad Request):
<html><13>
<head><title>400 The SSL certificate error</title></head><13>
<body><13>
<center><h1>400 Bad Request</h1></center><13>
<center>The SSL certificate error</center><13>
<hr><center>openresty</center><13>
</body><13>
</html><13>
다음 명령어를 통해 해결 가능하다.
[root@localhost ~]# subscription-manager identity --regenerate --force
Username:
Password:
Identity certificate has been regenerated.
[root@localhost ~]# subscription-manager register --force
Unregistering from: subscription.rhsm.redhat.com:443/subscription
The system with has been unregistered
All local data removed
Registering to: subscription.rhsm.redhat.com:443/subscription
Username:
Password:
The system has been registered with ID:
The registered system name is: localhost.localdomain