mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
f3076c6ab3
This prevents errors when renewing other certificates during the renewal of ipaCert. https://fedorahosted.org/freeipa/ticket/5436 Reviewed-By: David Kupka <dkupka@redhat.com>
19 lines
317 B
Python
Executable File
19 lines
317 B
Python
Executable File
#!/usr/bin/python2 -E
|
|
#
|
|
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
import syslog
|
|
import traceback
|
|
|
|
from ipaserver.install import certs
|
|
|
|
|
|
def main():
|
|
certs.renewal_lock.acquire('renew_ra_cert')
|
|
|
|
try:
|
|
main()
|
|
except Exception:
|
|
syslog.syslog(syslog.LOG_ERR, traceback.format_exc())
|