summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2015-09-04 15:14:48 +0200
committerJan Cholasta <jcholast@redhat.com>2015-09-09 08:21:32 +0200
commitff7969852d0469535a6b7639cde52ca68bb271ec (patch)
treec8bb3f92a787ad1d2dbb6cb09bd51502c0e4f072 /install
parent72cfcfa0bd1e867537fcc788512e5fca20708b83 (diff)
load RA backend plugins during standalone CA install on CA-less IPA master
CA-less IPA master has 'ra_plugin' set to 'none' in IPA config. When setting up Dogtag CA on the master we must override this setting in order to load dogtag backend plugins and succesfully complete CA installation. https://fedorahosted.org/freeipa/ticket/5288 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'install')
-rwxr-xr-xinstall/tools/ipa-ca-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/tools/ipa-ca-install b/install/tools/ipa-ca-install
index 8b1cea8d5..6564e4d03 100755
--- a/install/tools/ipa-ca-install
+++ b/install/tools/ipa-ca-install
@@ -160,7 +160,9 @@ def install_master(safe_options, options):
if not dsinstance.DsInstance().is_configured():
sys.exit("IPA server is not configured on this system.\n")
- api.bootstrap(in_server=True)
+ # override ra_plugin setting read from default.conf so that we have
+ # functional dogtag backend plugins during CA install
+ api.bootstrap(in_server=True, ra_plugin='dogtag')
api.finalize()
dm_password = options.password