From e65233877ba3b91452a63cd052535f9a2b2b299e Mon Sep 17 00:00:00 2001 From: Dirk Date: Thu, 7 Jan 2021 09:19:56 +0100 Subject: [PATCH] Fix issuer check for Let's Encrypt which not halved the exp warn time Addresses #1816. Also the name changed --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index ef1494b..e35db76 100755 --- a/testssl.sh +++ b/testssl.sh @@ -9056,7 +9056,7 @@ certificate_info() { # We adjust the thresholds by %50 for LE certificates, relaxing warnings for those certificates. # . instead of \' because it does not break syntax highlighting in vim - if [[ "$issuer_CN" =~ ^Let.s\ Encrypt\ Authority ]] ; then + if [[ "$issuer_O" =~ ^Let.s\ Encrypt ]] ; then days2warn2=$((days2warn2 / 2)) days2warn1=$((days2warn1 / 2)) fi