summaryrefslogtreecommitdiffstats
path: root/install/certmonger
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2016-06-08 15:18:00 +1000
committerJan Cholasta <jcholast@redhat.com>2016-06-08 15:01:07 +0200
commit6b3db0dc736a74c54b41f0746f1abc2091ba1be8 (patch)
tree3aa1ef8b1221a452fe641ef5047a4a46e02ff9f9 /install/certmonger
parentf94ccca6761f7dbe3f99855d181fe2cec380d476 (diff)
downloadfreeipa-6b3db0dc736a74c54b41f0746f1abc2091ba1be8.tar.gz
freeipa-6b3db0dc736a74c54b41f0746f1abc2091ba1be8.tar.xz
freeipa-6b3db0dc736a74c54b41f0746f1abc2091ba1be8.zip
Load server plugins in certmonger renewal helper
The certmonger renewal helper needs to load server plugins to operate. Initialise the API with in_server=True. Fixes: https://fedorahosted.org/freeipa/ticket/5943 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'install/certmonger')
-rwxr-xr-xinstall/certmonger/dogtag-ipa-ca-renew-agent-submit2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/certmonger/dogtag-ipa-ca-renew-agent-submit b/install/certmonger/dogtag-ipa-ca-renew-agent-submit
index 5a6b7fa22..3f7333c0e 100755
--- a/install/certmonger/dogtag-ipa-ca-renew-agent-submit
+++ b/install/certmonger/dogtag-ipa-ca-renew-agent-submit
@@ -445,7 +445,7 @@ def main():
'ipaCACertRenewal': renew_ca_cert,
}
- api.bootstrap(context='renew')
+ api.bootstrap(in_server=True, context='renew')
api.finalize()
operation = os.environ.get('CERTMONGER_OPERATION')