From 138ae4abe7d4737ae2e1c6526476b8be009178db Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 12 Apr 2018 16:54:46 -0400 Subject: [PATCH] ipa-server-certinstall failing, unknown option realm The option realm was being passed in instead of realm_name. https://pagure.io/freeipa/issue/7489 Signed-off-by: Rob Crittenden Reviewed-By: Alexey Slaykovsky --- ipaserver/install/ipa_server_certinstall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaserver/install/ipa_server_certinstall.py b/ipaserver/install/ipa_server_certinstall.py index d015a9b35..d05dfc426 100644 --- a/ipaserver/install/ipa_server_certinstall.py +++ b/ipaserver/install/ipa_server_certinstall.py @@ -174,7 +174,7 @@ class ServerCertInstall(admintool.AdminTool): def replace_kdc_cert(self): # pass in `realm` to perform `NSSDatabase.verify_kdc_cert_validity()` cert, key, ca_cert = self.load_pkcs12( - ca_chain_fname=paths.CA_BUNDLE_PEM, realm=api.env.realm) + ca_chain_fname=paths.CA_BUNDLE_PEM, realm_name=api.env.realm) self.replace_key_cert_files( cert, key, paths.KDC_CERT, paths.KDC_KEY, ca_cert,