summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-10-16 09:08:49 +0000
committerPetr Viktorin <pviktori@redhat.com>2014-03-25 16:54:55 +0100
commitfd5ef28bf246f113e16d1b4e7ce5324eab455336 (patch)
tree4436fff59efaebb007e03a7b52b31e38dc32c684 /install
parentfac6bf30b6ed91ab595e8a5e5c39a5934de6f0b6 (diff)
downloadfreeipa-fd5ef28bf246f113e16d1b4e7ce5324eab455336.tar.gz
freeipa-fd5ef28bf246f113e16d1b4e7ce5324eab455336.tar.xz
freeipa-fd5ef28bf246f113e16d1b4e7ce5324eab455336.zip
Use the same certmonger configuration for both CA masters and clones.
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'install')
-rw-r--r--install/tools/ipa-upgradeconfig14
1 files changed, 4 insertions, 10 deletions
diff --git a/install/tools/ipa-upgradeconfig b/install/tools/ipa-upgradeconfig
index cc0172f5f..324e45594 100644
--- a/install/tools/ipa-upgradeconfig
+++ b/install/tools/ipa-upgradeconfig
@@ -608,11 +608,8 @@ def enable_certificate_renewal(ca):
if not sysupgrade.get_upgrade_state('dogtag', 'renewal_configured'):
ca.configure_certmonger_renewal()
- if ca.is_master():
- ca.configure_renewal()
- else:
- ca.configure_clone_renewal()
- ca.configure_agent_renewal()
+ ca.configure_renewal()
+ ca.configure_agent_renewal()
ca.track_servercert()
sysupgrade.set_upgrade_state('dogtag', 'renewal_configured', True)
root_logger.debug('CA subsystem certificate renewal enabled')
@@ -657,11 +654,8 @@ def certificate_renewal_stop_ca(ca):
# again with new configuration:
cainstance.stop_tracking_certificates(dogtag.configured_constants())
ca.configure_certmonger_renewal()
- if ca.is_master():
- ca.configure_renewal()
- else:
- ca.configure_clone_renewal()
- ca.configure_agent_renewal()
+ ca.configure_renewal()
+ ca.configure_agent_renewal()
ca.track_servercert()
sysupgrade.set_upgrade_state('dogtag', 'stop_ca_during_renewal', True)
root_logger.debug('CA subsystem certificate renewal configured to stop the CA')