diff options
author | Christian Hesse <mail@eworm.de> | 2019-04-11 22:22:05 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-04-11 22:22:05 +0200 |
commit | 5273efda21a7149af1b63b411e14af37e447afcb (patch) | |
tree | b840ee421303b28976dc252856926930fd188771 /check-certificates | |
parent | 20d7020fe3a2f1e2149fa051526982f9910b67fa (diff) |
check-certificates: make sure fingerprint is a string
This makes sure the condition below works for certificate templates,
which do not have a fingerprint.
Diffstat (limited to 'check-certificates')
-rw-r--r-- | check-certificates | 2 |
1 files changed, 1 insertions, 1 deletions
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={ |