From d0f50142f5774b73a2dc0808e0753ead033f2bf4 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 5 Feb 2026 08:18:00 +0100 Subject: [PATCH 1/2] check-certificates: show days valid in details --- check-certificates.rsc | 1 + 1 file changed, 1 insertion(+) diff --git a/check-certificates.rsc b/check-certificates.rsc index e10c82ae..470f99cb 100644 --- a/check-certificates.rsc +++ b/check-certificates.rsc @@ -152,6 +152,7 @@ [ $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") ] ] ]); From 68ed97205cc2e0457cd9bfe08823052c65fe901a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 5 Feb 2026 08:19:50 +0100 Subject: [PATCH 2/2] check-certificates: update wording, indent output --- check-certificates.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-certificates.rsc b/check-certificates.rsc index 470f99cb..0122122a 100644 --- a/check-certificates.rsc +++ b/check-certificates.rsc @@ -155,7 +155,7 @@ [ $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={