오류: 요청된 호스트 www.example.com이 RHOCP 콘솔의 라우터에 의해 거부됨
Issue
- OCP 콘솔에서 다음 오류가 발생합니다.
The requested host www.example.com was rejected by the router. Reason: - spec.tls.key: Invalid value: "redacted key data": tls: failed to find PEM block with type ending in "PRIVATE KEY" in key input after skipping PEM blocks of the following types: [CERTIFICATE CERTIFICATE].
- 인증 POD가 오류 로그와 함께 크래시루프됩니다.
2022-04-06T00:08:50.632680055Z I0406 00:08:50.630161 1 dynamic_serving_content.go:111] Loaded a new cert/key pair for "serving-cert::/var/config/system/secrets/v4-0-config-system-serving-cert/tls.crt::/var/config/system/secrets/v4-0-config-system-serving-cert/tls.key"
2022-04-06T00:08:50.632680055Z F0406 00:08:50.630572 1 cmd.go:49] failed to load SNI cert and key: tls: failed to find PEM block with type ending in "PRIVATE KEY" in key input after skipping PEM blocks of the following types: [CERTIFICATE CERTIFICATE]
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.