Fix issuer check for Let's Encrypt which not halved the exp warn time

Addresses #1816. Also the name changed
This commit is contained in:
Dirk 2021-01-07 09:19:56 +01:00
parent f6e2a5c381
commit e65233877b
1 changed files with 1 additions and 1 deletions

View File

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