mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-03-06 05:59:36 +00:00
Compare commits
2 commits
3ee1978098
...
68ed97205c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68ed97205c | ||
|
|
d0f50142f5 |
1 changed files with 2 additions and 1 deletions
|
|
@ -152,9 +152,10 @@
|
|||
[ $FormatLine "Fingerprint" ($CertVal->"fingerprint") ] . "\n" . \
|
||||
[ $IfThenElse ([ :len ($CertVal->"ca") ] > 0) [ $FormatLine "Issuer" ($CertVal->"ca") ] [ $FormatLine "Issuer chain" [ $FormatCertChain $Cert ] ] ] . "\n" . \
|
||||
"Validity:\n" . \
|
||||
[ $FormatLine " days" ($CertVal->"days-valid") ] . "\n" . \
|
||||
[ $FormatLine " from" ($CertVal->"invalid-before") ] . "\n" . \
|
||||
[ $FormatLine " to" ($CertVal->"invalid-after") ] . "\n" . \
|
||||
[ $FormatLine "Expires in" [ $IfThenElse (($CertVal->"expired") = true) "expired" [ $FormatExpire ($CertVal->"expires-after") ] ] ]);
|
||||
[ $FormatLine " time left" [ $IfThenElse (($CertVal->"expired") = true) "expired" [ $FormatExpire ($CertVal->"expires-after") ] ] ]);
|
||||
}
|
||||
|
||||
:if ([ $ScriptLock $ScriptName ] = false) do={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue