aboutsummaryrefslogtreecommitdiffstats
path: root/initial-commands
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-12-20 22:21:00 +0100
committerGravatar Christian Hesse <mail@eworm.de>2018-12-20 22:21:00 +0100
commitf4673928efaa46a03888063ef5fa3bc2d40eb38e (patch)
tree16f44a1a4f75e72e440a79ace1342fd95a2c2cd2 /initial-commands
parentabdc9b0cbdfcab17ab5d47c0afce7b8c79be931a (diff)
global-functions: make $CertificateAvailable work on CommonName
This should prevent endless certificate switching for Let's Encrypt cross-signed intermediate certificates.
Diffstat (limited to 'initial-commands')
-rw-r--r--initial-commands2
1 files changed, 1 insertions, 1 deletions
diff --git a/initial-commands b/initial-commands
index 01b5308..2d066e4 100644
--- a/initial-commands
+++ b/initial-commands
@@ -3,7 +3,7 @@
# Copyright (c) 2018 Christian Hesse <mail@eworm.de>
{
- / tool fetch "https://git.eworm.de/cgit.cgi/routeros-scripts/plain/certs/731d3d9cfaa061487a1d71445a42f67df0afca2a6c2d2f98ff7b3ce112b1f568.pem" dst-path=letsencrypt.pem;
+ / tool fetch "https://git.eworm.de/cgit.cgi/routeros-scripts/plain/certs/letsencrypt.pem" dst-path="letsencrypt.pem";
:delay 1s;
/ certificate import file-name=letsencrypt.pem passphrase="";
/ certificate set name="ISRG-Root-X1" [ find where fingerprint="96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6" ];