summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipaclient
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2014-09-24 19:22:59 +0200
committerMartin Kosek <mkosek@redhat.com>2014-09-30 10:01:38 +0200
commitda24d8a6e7a8f63e9fd6a603f658cff6cb784996 (patch)
treecd6a5f37baab6eb3789b2324a235fc9a1ccff07a /ipa-client/ipaclient
parent05e66264a92d85d83b6ac43340461e5ae686304d (diff)
downloadfreeipa-da24d8a6e7a8f63e9fd6a603f658cff6cb784996.tar.gz
freeipa-da24d8a6e7a8f63e9fd6a603f658cff6cb784996.tar.xz
freeipa-da24d8a6e7a8f63e9fd6a603f658cff6cb784996.zip
Fix certmonger search for the CA cert in ipa-certupdate and ipa-cacert-manage
The search criteria did not include the CA agent name. https://fedorahosted.org/freeipa/ticket/3259 Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Diffstat (limited to 'ipa-client/ipaclient')
-rw-r--r--ipa-client/ipaclient/ipa_certupdate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipa-client/ipaclient/ipa_certupdate.py b/ipa-client/ipaclient/ipa_certupdate.py
index fd6c80df8..ff16b9b7a 100644
--- a/ipa-client/ipaclient/ipa_certupdate.py
+++ b/ipa-client/ipaclient/ipa_certupdate.py
@@ -120,6 +120,7 @@ class CertUpdate(admintool.AdminTool):
criteria = {
'cert-database': dogtag_constants.ALIAS_DIR,
'cert-nickname': nickname,
+ 'ca-name': 'dogtag-ipa-ca-renew-agent',
}
request_id = certmonger.get_request_id(criteria)
if request_id is not None: