diff options
author | Christian Hesse <mail@eworm.de> | 2021-01-10 23:53:24 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-01-11 12:00:07 +0100 |
commit | 8e628ce11e95ccc867c9f4d3349cf0f63148109b (patch) | |
tree | 11fa1d64874869e5c64e0ec5a4409b60b4046751 /check-certificates | |
parent | faf08b057592faf6f1dd47a2ff63de31f5d6f9f1 (diff) |
check-certificates: show info on private key
Diffstat (limited to 'check-certificates')
-rw-r--r-- | check-certificates | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/check-certificates b/check-certificates index fce8e7d..89ca9eb 100644 --- a/check-certificates +++ b/check-certificates @@ -89,6 +89,7 @@ $WaitFullyConnected; ("A certificate on " . $Identity . " has been renewed.\n\n" . \ "Name: " . ($CertVal->"name") . "\n" . \ "CommonName: " . ($CertNewVal->"common-name") . "\n" . \ + "Private key: " . [ $IfThenElse (($CertNewVal->"private-key") = true) "available" "missing" ] . "\n" . \ "Fingerprint: " . ($CertNewVal->"fingerprint") . "\n" . \ "Issuer: " . ([ $ParseKeyValueStore ($CertNewVal->"issuer") ]->"CN") . "\n" . \ "Validity: " . ($CertNewVal->"invalid-before") . " to " . ($CertNewVal->"invalid-after") . "\n" . \ @@ -111,6 +112,7 @@ $WaitFullyConnected; ("A certificate on " . $Identity . " " . $State . ".\n\n" . \ "Name: " . ($CertVal->"name") . "\n" . \ "CommonName: " . ($CertVal->"common-name") . "\n" . \ + "Private key: " . [ $IfThenElse (($CertNewVal->"private-key") = true) "available" "missing" ] . "\n" . \ "Fingerprint: " . ($CertVal->"fingerprint") . "\n" . \ "Issuer: " . ($CertVal->"ca") . ([ $ParseKeyValueStore ($CertVal->"issuer") ]->"CN") . "\n" . \ "Validity: " . ($CertVal->"invalid-before") . " to " . ($CertVal->"invalid-after") . "\n" . \ |