mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 10:04:19 +02:00
global-functions: $CertificateDownload: http-header-field expects an array
This commit is contained in:
parent
80c0e47649
commit
da0a37802d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue