Merge pull request #1817 from drwetter/le_issuer_fix1816

Fix issuer check for Let's Encrypt
This commit is contained in:
Dirk Wetter 2021-01-07 10:25:02 +01:00 committed by GitHub
commit 477bd13899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9068,7 +9068,7 @@ certificate_info() {
# 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
if [[ "$issuer_CN" =~ ^Let.s\ Encrypt\ Authority ]] ; then
if [[ "$issuer_O" =~ ^Let.s\ Encrypt ]] ; then
days2warn2=$((days2warn2 / 2))
days2warn1=$((days2warn1 / 2))
fi