ipa-client-install failed with [SSL:CERTIFICATE_VERIFY_FAILED] certificate verify failed:Hostname mismatch エラー
Issue
ipa-client-install
がエラーで失敗します。
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'ipaserver.example.com'. (_ssl.c:1129)
2023-01-12T12:48:13Z INFO Connection to https://ipaserver.example.com/ipa/json failed with [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'ipaserver.example.com'. (_ssl.c:1129)
- IPA サーバーの HTTPS サーバー証明書には、サブジェクト名に正しい CN がすでに含まれています (
subject=/O=EXAMPLE.COM/CN=ipaserver.example.com
)。
Environment
- RHEL クライアント 9.1
- RHEL サーバー 7.9
- IPA
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.