mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 16:12:13 +02:00
delete key and csr before trying again
This commit is contained in:
+2
-2
@@ -325,8 +325,8 @@ class Client(object):
|
|||||||
|
|
||||||
if successful_domains != domains:
|
if successful_domains != domains:
|
||||||
if not self.config.dry_run:
|
if not self.config.dry_run:
|
||||||
# TODO: delete keys
|
os.remove(key.file)
|
||||||
pass
|
os.remove(csr.file)
|
||||||
return self.obtain_certificate(successful_domains)
|
return self.obtain_certificate(successful_domains)
|
||||||
else:
|
else:
|
||||||
certr, chain = self.obtain_certificate_from_csr(csr, orderr)
|
certr, chain = self.obtain_certificate_from_csr(csr, orderr)
|
||||||
|
|||||||
Reference in New Issue
Block a user