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 2016-06-08 15:18:00 +10:00 committed by Jan Cholasta
parent f94ccca676
commit 6b3db0dc73

View File

@ -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')