diff options
author | Christian Hesse <mail@eworm.de> | 2023-05-23 22:40:54 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-05-25 10:39:00 +0200 |
commit | 6327348405a6fa4dec5c9df5b2cee3cc340a5a6d (patch) | |
tree | 2c36e2948383bd6dd84803f08588a6aebbdf0ff5 /check-certificates.rsc | |
parent | 5ae3cb336fa80d8d5fe141d59a85148f8c4823df (diff) |
check-certificates: split validity output
Diffstat (limited to 'check-certificates.rsc')
-rw-r--r-- | check-certificates.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/check-certificates.rsc b/check-certificates.rsc index 7e9fbe2..a3b0a8f 100644 --- a/check-certificates.rsc +++ b/check-certificates.rsc @@ -92,7 +92,9 @@ [ $FormatLine "Private key" [ $IfThenElse (($CertVal->"private-key") = true) "available" "missing" ] ] . "\n" . \ [ $FormatLine "Fingerprint" ($CertVal->"fingerprint") ] . "\n" . \ [ $FormatLine "Issuer" ($CertVal->"ca" . ([ $ParseKeyValueStore ($CertVal->"issuer") ]->"CN")) ] . "\n" . \ - [ $FormatLine "Validity" ($CertVal->"invalid-before" . " to " . $CertVal->"invalid-after") ] . "\n" . \ + "Validity:\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") ] ] ]); } |