mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-26 03:28:38 +02: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:
parent
abdc9b0cbd
commit
f4673928ef
10 changed files with 147 additions and 148 deletions
|
@ -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" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue