mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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>
This commit is contained in:
committed by
Martin Kosek
parent
62a2559493
commit
6d94cdf250
@@ -122,11 +122,10 @@ class CertUpdate(admintool.AdminTool):
|
||||
|
||||
dogtag_constants = dogtag.configured_constants()
|
||||
nickname = 'caSigningCert cert-pki-ca'
|
||||
criteria = (
|
||||
('cert_storage_location', dogtag_constants.ALIAS_DIR,
|
||||
certmonger.NPATH),
|
||||
('cert_nickname', nickname, None),
|
||||
)
|
||||
criteria = {
|
||||
'cert-database': dogtag_constants.ALIAS_DIR,
|
||||
'cert-nickname': nickname,
|
||||
}
|
||||
request_id = certmonger.get_request_id(criteria)
|
||||
if request_id is not None:
|
||||
timeout = api.env.startup_timeout + 60
|
||||
|
||||
Reference in New Issue
Block a user