From 6cde966f6e7fbe57a3840fd798dab67d8ada0714 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Fri, 22 Mar 2024 14:07:44 -0700 Subject: [PATCH] remove check for mail subdomain pem file, mail subdomain certs should be specified to be removed --- bin/letsencrypt-del.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/letsencrypt-del.sh b/bin/letsencrypt-del.sh index 7d14366..98f7e24 100755 --- a/bin/letsencrypt-del.sh +++ b/bin/letsencrypt-del.sh @@ -78,10 +78,6 @@ if test -f "/etc/letsencrypt/renewal/$domain.conf"; then rm "/etc/ssl/letsencrypt/$domain.pem"; fi - if test -h "/etc/ssl/letsencrypt/mail.$domain.pem"; then - rm "/etc/ssl/letsencrypt/mail.$domain.pem"; - fi - else echo "Did not find cert for $domain." fi