From 5060dea068e2e6f7127f2f5771668a2331554db7 Mon Sep 17 00:00:00 2001 From: Martin Geiseler Date: Sun, 6 Dec 2015 13:51:40 +0100 Subject: [PATCH] Check expire date of existing certs --- letsencrypt.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/letsencrypt.sh b/letsencrypt.sh index e822df9..410d59c 100755 --- a/letsencrypt.sh +++ b/letsencrypt.sh @@ -184,7 +184,18 @@ if [[ "${register}" = "1" ]]; then signed_request "${CA}/acme/new-reg" '{"resource": "new-reg", "agreement": "'"$LICENSE"'"}' > /dev/null fi -# Generate certificates for all domains found in domain.txt (TODO: check if certificate already exists and is about to expire) +# Generate certificates for all domains found in domain.txt. Check if existing certificate are about to expire