1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-11-13 06:45:24 +01:00

Avoid race condition which is triggered when debugging misconfigurations

This commit is contained in:
David Klaftenegger 2016-04-04 19:12:51 +02:00 committed by Markus Hauschild
parent 2dbae6673a
commit 6599c49476

View File

@ -107,8 +107,8 @@ def cert_get(domains, settings):
finally:
if settings['mode'] == 'standalone':
os.chdir(current_dir)
server.stop()
os.chdir(current_dir)
os.remove(csr_file)
os.remove(crt_file)