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:
Christian Hesse 2026-05-13 15:51:24 +02:00
parent a3de8aa081
commit 6f2eb69ee0

View file

@ -1301,7 +1301,8 @@
:global SymbolForNotification; :global SymbolForNotification;
:global ValidateSyntax; :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."); $LogPrint warning $0 ("Downloading certificate failed, trying without.");
} }