mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-09 10:10:57 +01:00
Fix issuer check for Let's Encrypt (3.0)
Fixes #1816 for 3.0 by a proper halving of the dates
This commit is contained in:
parent
cb94ffaa13
commit
0de00f4322
@ -8710,7 +8710,7 @@ certificate_info() {
|
|||||||
fi
|
fi
|
||||||
# We adjust the thresholds by %50 for LE certificates, relaxing warnings for those certificates.
|
# 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
|
# . 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))
|
days2warn2=$((days2warn2 / 2))
|
||||||
days2warn1=$((days2warn1 / 2))
|
days2warn1=$((days2warn1 / 2))
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user