From 6b3db0dc736a74c54b41f0746f1abc2091ba1be8 Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Wed, 8 Jun 2016 15:18:00 +1000 Subject: [PATCH] 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 --- install/certmonger/dogtag-ipa-ca-renew-agent-submit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')