mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Certificate validity fix
This commit is contained in:
parent
98b51ab00a
commit
2d63ae8024
1 changed files with 2 additions and 1 deletions
|
|
@ -877,7 +877,8 @@ else
|
|||
if((flow["protos.tls.notBefore"] ~= nil) or (flow["protos.tls.notAfter"] ~= nil)) then
|
||||
local now = os.time()
|
||||
print('<tr><th width=30%>'..i18n("flow_details.tls_certificate_validity").."</th><td colspan=2>")
|
||||
if(flow["protos.tls.notAfter"] > now) then
|
||||
|
||||
if((flow["protos.tls.notBefore"] > now) or (flow["protos.tls.notAfter"] < now)) then
|
||||
print(" <i class=\"fas fa-exclamation-triangle fa-lg\" style=\"color: #f0ad4e;\"></i>")
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue