mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-05-17 08:52:27 +00:00
global-functions: $ScriptInstallUpdate: Check for both LE certificates
Hmm... 🤨 Let's Encrypt is doing crazy things. My server was switched to 'Root YE' alredy, now it is back to 'ISRG Root X2'... 😳 So let's check for both for now.
This commit is contained in:
parent
a3de8aa081
commit
6f2eb69ee0
1 changed files with 2 additions and 1 deletions
|
|
@ -1301,7 +1301,8 @@
|
|||
:global SymbolForNotification;
|
||||
:global ValidateSyntax;
|
||||
|
||||
:if ([ $CertificateAvailable "Root YE" "fetch" ] = false) do={
|
||||
:if ([ $CertificateAvailable "ISRG Root X2" "fetch" ] = false || \
|
||||
[ $CertificateAvailable "Root YE" "fetch" ] = false) do={
|
||||
$LogPrint warning $0 ("Downloading certificate failed, trying without.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue