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

This commit is contained in:
Christian Hesse 2023-10-10 17:34:53 +02:00
parent 80c0e47649
commit da0a37802d

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;