]> git.wh0rd.org Git - home.git/commitdiff
le-renew: do not delete after revocation
authorMike Frysinger <vapier@gentoo.org>
Mon, 18 Jun 2018 21:42:20 +0000 (17:42 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 18 Jun 2018 21:42:20 +0000 (17:42 -0400)
.bin/le-renew

index e7d4ec038ddc1d3299e65aed51784d83462fe004..58e687b0b7a34ca56356ed60efcbe3fc283515ce 100755 (executable)
@@ -146,7 +146,8 @@ def process_domain(domain, dry_run=False):
                 return 0
             ret = 1
         # Try to revoke the old one.
-        cmd = ['certbot', 'revoke', '--cert-path', cert_path]
+        cmd = ['certbot', 'revoke', '--no-delete-after-revoke', '--cert-path',
+               cert_path]
         logging.info('%s: revoking old cert', domain)
         logging.info('%s: %s', domain, ' '.join(cmd))
         if not dry_run: