global-functions: $CertificateDownload: http-header-field expects an array

This commit is contained in:
Christian Hesse
2023-10-17 14:05:03 +02:00
parent 80c0e47649
commit da0a37802d
+1 -1
View File
@@ -125,7 +125,7 @@
:do {
:local LocalFileName ($CommonName . ".pem");
:local UrlFileName ([ $UrlEncode $CommonName ] . ".pem");
/tool/fetch check-certificate=yes-without-crl http-header-field=$FetchUserAgent \
/tool/fetch check-certificate=yes-without-crl http-header-field=({ $FetchUserAgent }) \
($ScriptUpdatesBaseUrl . "certs/" . $UrlFileName . $ScriptUpdatesUrlSuffix) \
dst-path=$LocalFileName as-value;
$WaitForFile $LocalFileName;