mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 00:39:44 +01:00
correct comment
This commit is contained in:
parent
c80a1307bf
commit
e9108baf93
@ -8736,8 +8736,8 @@ certificate_info() {
|
||||
fileout "cert_notBefore${json_postfix}" "INFO" "$startdate" # we assume that the certificate has no start time in the future
|
||||
fileout "cert_notAfter${json_postfix}" "$expok" "$enddate" # They are in UTC
|
||||
|
||||
# Internal certificates or from appliances often have a too high validity periods with
|
||||
# either 5 or 10 days. Also "official" certificates issued from March 1st, 2018 aren't
|
||||
# Internal certificates or cert. from appliances often have too high validity periods with
|
||||
# either 5 or 10 years. Also "official" certificates issued from March 1st, 2018 aren't
|
||||
# supposed to be valid longer than 825 days which is 1517353200 in epoch seconds
|
||||
# (GNUish: date --date='01/31/2018 00:00:00' +"%s")
|
||||
if [[ $diffseconds -ge $((3600 * 24 * 365 * 10)) ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user