summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/plugins
diff options
context:
space:
mode:
authorDavid Kupka <dkupka@redhat.com>2014-09-03 09:07:16 +0200
committerMartin Kosek <mkosek@redhat.com>2014-09-05 10:51:42 +0200
commit6d94cdf250c470bf77a0e769ea30a90fa5815b81 (patch)
tree499bd2ba7ddc4cd5311b35070e8f7db9a85b8b88 /ipaserver/install/plugins
parent62a255949377d4a6b3cc197462223b5b0495d18d (diff)
downloadfreeipa-6d94cdf250c470bf77a0e769ea30a90fa5815b81.tar.gz
freeipa-6d94cdf250c470bf77a0e769ea30a90fa5815b81.tar.xz
freeipa-6d94cdf250c470bf77a0e769ea30a90fa5815b81.zip
Use certmonger D-Bus API instead of messing with its files.
FreeIPA certmonger module changed to use D-Bus to communicate with certmonger. Using the D-Bus API should be more stable and supported way of using cermonger than tampering with its files. >=certmonger-0.75.13 is needed for this to work. https://fedorahosted.org/freeipa/ticket/4280 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/install/plugins')
-rw-r--r--ipaserver/install/plugins/ca_renewal_master.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipaserver/install/plugins/ca_renewal_master.py b/ipaserver/install/plugins/ca_renewal_master.py
index 37b5487fe..52508b589 100644
--- a/ipaserver/install/plugins/ca_renewal_master.py
+++ b/ipaserver/install/plugins/ca_renewal_master.py
@@ -52,10 +52,10 @@ class update_ca_renewal_master(PostUpdate):
self.debug("found CA renewal master %s", entries[0].dn[1].value)
return (False, False, [])
- criteria = (
- ('cert_storage_location', paths.HTTPD_ALIAS_DIR, certmonger.NPATH),
- ('cert_nickname', 'ipaCert', None),
- )
+ criteria = {
+ 'cert-database': paths.HTTPD_ALIAS_DIR,
+ 'cert-nickname': 'ipaCert',
+ }
request_id = certmonger.get_request_id(criteria)
if request_id is not None:
self.debug("found certmonger request for ipaCert")