aboutsummaryrefslogtreecommitdiffstats
path: root/check-certificates
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-01-09 14:29:15 +0100
committerGravatar Christian Hesse <mail@eworm.de>2019-01-09 14:29:15 +0100
commit1b9a277b4761a80c13acf6a12bf5ec4d25d531fc (patch)
tree4aa3cc026d151f081446ba1a9647fbee0db39fe2 /check-certificates
parent40931f4f282ec932358417ac67302013fa7d7a57 (diff)
check-certificates: update CommonName after renewal
Diffstat (limited to 'check-certificates')
-rw-r--r--check-certificates1
1 files changed, 1 insertions, 0 deletions
diff --git a/check-certificates b/check-certificates
index c365de5..72d6a5d 100644
--- a/check-certificates
+++ b/check-certificates
@@ -48,6 +48,7 @@
:local InvalidBefore [ / certificate get $CertNew invalid-before ];
:local InvalidAfter [ / certificate get $CertNew invalid-after ];
+ :set CommonName [ / certificate get $CertNew common-name ];
:set FingerPrint [ / certificate get $CertNew fingerprint ];
$SendNotification ("Certificate renewed") \