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>
This commit is contained in:
Fraser Tweedale authored and Jan Cholasta committed 2016-06-08 15:01:07 +02:00
1 parent f94ccca676
commit 6b3db0dc73
1 file changed
+1 -1
@@ -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')