Added check for certificate validity longer than 398 days

This commit is contained in:
tosticated 2020-08-31 16:21:32 +02:00
parent e3b62341ba
commit 47e9814baa
1 changed files with 1 additions and 1 deletions

View File

@ -9150,7 +9150,7 @@ certificate_info() {
outln ">= 825 days certificate life time but issued before 2018/03/01"
fileout "cert_validityPeriod${json_postfix}" "INFO" "$((diffseconds / (3600 * 24) )) =< 825 days"
fi
else
else
# All is fine with valididy period
# We ignore for now certificates < 2018/03/01. On the screen we only show debug info
[[ "$DEBUG" -ge 1 ]] && outln "${spaces}DEBUG: all is fine with total certificate life time"