mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Relax misunderstanding of DEBUG statemement
There's a check for >825 days certificate lifetime. That check emits a debug statement when the lifetime is within this limit. It does that also when the certificate expired. This commit adds now the word "total" DEBUG: all is fine with total certificate life time to make sure the life time left not is what should be understood.
This commit is contained in:
parent
26a8f23ec1
commit
e0f8c8d43e
@ -8789,7 +8789,7 @@ certificate_info() {
|
||||
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 certificate life time"
|
||||
[[ "$DEBUG" -ge 1 ]] && outln "${spaces}DEBUG: all is fine with total certificate life time"
|
||||
fileout "cert_validityPeriod${json_postfix}" "INFO" "No finding"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user