From 0de00f43227447e5641f995b67d1e62d99e2a2db Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Thu, 7 Jan 2021 10:29:08 +0100 Subject: [PATCH] Fix issuer check for Let's Encrypt (3.0) Fixes #1816 for 3.0 by a proper halving of the dates --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 9303edb..a4ff7cd 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8710,7 +8710,7 @@ certificate_info() { fi # 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