Skip to content

Commit 0de00f4

Browse files
committed
Fix issuer check for Let's Encrypt (3.0)
Fixes #1816 for 3.0 by a proper halving of the dates
1 parent cb94ffa commit 0de00f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8710,7 +8710,7 @@ certificate_info() {
87108710
fi
87118711
# We adjust the thresholds by %50 for LE certificates, relaxing warnings for those certificates.
87128712
# . instead of \' because it does not break syntax highlighting in vim
8713-
if [[ "$issuer_CN" =~ ^Let.s\ Encrypt\ Authority ]] ; then
8713+
if [[ "$issuer_O" =~ ^Let.s\ Encrypt ]] ; then
87148714
days2warn2=$((days2warn2 / 2))
87158715
days2warn1=$((days2warn1 / 2))
87168716
fi

0 commit comments

Comments
 (0)