From b1b7ed83eda50e3147d363f1e4f1dab3191c4b3f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 3 Jan 2020 10:15:34 +0100 Subject: global-functions: $Certificate*: add quoting around CN --- global-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global-functions b/global-functions index 0d490df..45b76d2 100644 --- a/global-functions +++ b/global-functions @@ -91,7 +91,7 @@ :global WaitForFile; :log info ("Downloading and importing certificate with " . \ - "CommonName " . $CommonName . "."); + "CommonName \"" . $CommonName . "\"."); :do { :local LocalFileName ($CommonName . ".pem"); :local UrlFileName ([ $UrlEncode $CommonName ] . ".pem"); @@ -114,7 +114,7 @@ :global CertificateDownload; :if ([ / certificate print count-only where common-name=$CommonName ] = 0) do={ - :log info ("Certificate with CommonName " . $CommonName . " not available."); + :log info ("Certificate with CommonName \"" . $CommonName . "\" not available."); $CertificateDownload $CommonName; } } -- cgit v1.2.3-70-g09d2