mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: make $CertificateAvailable work on CommonName
This should prevent endless certificate switching for Let's Encrypt cross-signed intermediate certificates.
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user