delete key and csr before trying again

This commit is contained in:
Erica Portnoy
2018-02-20 15:43:27 -08:00
parent 051664a142
commit d5a90c5a6e
+2 -2
View File
@@ -325,8 +325,8 @@ class Client(object):
if successful_domains != domains:
if not self.config.dry_run:
# TODO: delete keys
pass
os.remove(key.file)
os.remove(csr.file)
return self.obtain_certificate(successful_domains)
else:
certr, chain = self.obtain_certificate_from_csr(csr, orderr)