From 72e72615df8b178ebbcb2e4944ba289ef263c951 Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Tue, 26 Jan 2016 13:41:37 +0100 Subject: [PATCH] fix standalone installation of externally signed CA on IPA master https://fedorahosted.org/freeipa/ticket/5636 Reviewed-By: Martin Basti --- install/tools/ipa-ca-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/tools/ipa-ca-install b/install/tools/ipa-ca-install index 83cf98ec6..1bc5def03 100755 --- a/install/tools/ipa-ca-install +++ b/install/tools/ipa-ca-install @@ -276,7 +276,8 @@ def main(): if not dsinstance.DsInstance().is_configured(): sys.exit("IPA server is not configured on this system.\n") - if cainstance.is_ca_installed_locally(): + if (not options.external_cert_files and + cainstance.is_ca_installed_locally()): sys.exit("CA is already installed on this host.") standard_logging_setup(paths.IPASERVER_CA_INSTALL_LOG, debug=options.debug)