mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-04-23 13:39:37 +00:00
global-functions: change certificate literal with global-config param
To allow installation from custom server, URL and cert need to be changed in global-config-overlay.
This commit is contained in:
parent
d80f43a1c8
commit
a47d8effb6
2 changed files with 4 additions and 1 deletions
|
|
@ -1130,6 +1130,7 @@
|
|||
:global ScriptUpdatesBaseUrl;
|
||||
:global ScriptUpdatesCRLF;
|
||||
:global ScriptUpdatesUrlSuffix;
|
||||
:global ScriptUpdatesCertCN;
|
||||
|
||||
:global CertificateAvailable;
|
||||
:global EitherOr;
|
||||
|
|
@ -1144,7 +1145,7 @@
|
|||
:global SymbolForNotification;
|
||||
:global ValidateSyntax;
|
||||
|
||||
:if ([ $CertificateAvailable "ISRG Root X2" ] = false) do={
|
||||
:if ([ $CertificateAvailable $ScriptUpdatesCertCN ] = false) do={
|
||||
$LogPrint warning $0 ("Downloading certificate failed, trying without.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue