Commit 5273efda authored by Christian Hesse's avatar Christian Hesse

check-certificates: make sure fingerprint is a string

This makes sure the condition below works for certificate templates,
which do not have a fingerprint.
parent 20d7020f
......@@ -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={
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment