mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-16 15:51:17 +02:00
global-functions: $CertificateDownload: http-header-field expects an array
This commit is contained in:
parent
80c0e47649
commit
da0a37802d
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@
|
||||||
:do {
|
:do {
|
||||||
:local LocalFileName ($CommonName . ".pem");
|
:local LocalFileName ($CommonName . ".pem");
|
||||||
:local UrlFileName ([ $UrlEncode $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) \
|
($ScriptUpdatesBaseUrl . "certs/" . $UrlFileName . $ScriptUpdatesUrlSuffix) \
|
||||||
dst-path=$LocalFileName as-value;
|
dst-path=$LocalFileName as-value;
|
||||||
$WaitForFile $LocalFileName;
|
$WaitForFile $LocalFileName;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue