From d0f50142f5774b73a2dc0808e0753ead033f2bf4 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 5 Feb 2026 08:18:00 +0100 Subject: [PATCH] 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") ] ] ]);