diff options
author | Christian Hesse <mail@eworm.de> | 2020-01-03 10:15:34 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-01-03 10:15:34 +0100 |
commit | b1b7ed83eda50e3147d363f1e4f1dab3191c4b3f (patch) | |
tree | ec3479f52bd6943f4b86371b8d3cf331f22f2947 | |
parent | cb1e520965ee1b56ea4ec8084be1f0431c560195 (diff) |
global-functions: $Certificate*: add quoting around CN
-rw-r--r-- | global-functions | 4 |
1 files 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; } } |