Skip to content

Commit 477bd13

Browse files
authored
Merge pull request #1817 from drwetter/le_issuer_fix1816
Fix issuer check for Let's Encrypt
2 parents b8b23b9 + e652338 commit 477bd13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9068,7 +9068,7 @@ certificate_info() {
90689068

90699069
# We adjust the thresholds by %50 for LE certificates, relaxing warnings for those certificates.
90709070
# . instead of \' because it does not break syntax highlighting in vim
9071-
if [[ "$issuer_CN" =~ ^Let.s\ Encrypt\ Authority ]] ; then
9071+
if [[ "$issuer_O" =~ ^Let.s\ Encrypt ]] ; then
90729072
days2warn2=$((days2warn2 / 2))
90739073
days2warn1=$((days2warn1 / 2))
90749074
fi

0 commit comments

Comments
 (0)