1
0
mirror of https://github.com/moepman/acertmgr.git synced 2025-01-06 06:05:23 +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
parent 321462eb44
commit ec188e90aa

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)