From 5273efda21a7149af1b63b411e14af37e447afcb Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 11 Apr 2019 22:22:05 +0200 Subject: check-certificates: make sure fingerprint is a string This makes sure the condition below works for certificate templates, which do not have a fingerprint. --- check-certificates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check-certificates') diff --git a/check-certificates b/check-certificates index 15e14ea..bd1e0ed 100644 --- a/check-certificates +++ b/check-certificates @@ -28,7 +28,7 @@ :foreach Cert in=[ / certificate find where !revoked expires-after<3w ] do={ :local CertName [ / certificate get $Cert name ]; :local CommonName [ / certificate get $Cert common-name ]; - :local FingerPrint [ / certificate get $Cert fingerprint ]; + :local FingerPrint [ :tostr [ / certificate get $Cert fingerprint ] ]; :do { :if ([ :len $CertRenewUrl ] = 0) do={ -- cgit v1.2.3-54-g00ecf