Skip to content

Commit e652338

Browse files
committed
Fix issuer check for Let's Encrypt which not halved the exp warn time
Addresses #1816. Also the name changed
1 parent f6e2a5c commit e652338

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
@@ -9056,7 +9056,7 @@ certificate_info() {
90569056

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

0 commit comments

Comments
 (0)