aboutsummaryrefslogtreecommitdiffstats
path: root/INITIAL-COMMANDS.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-04-30 15:11:54 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-05-18 16:32:26 +0200
commitf2433b8091a7966db6cf2a8bc6890e576b592d13 (patch)
tree598d53959aae746daf122bdc8e056eb9474026c4 /INITIAL-COMMANDS.md
parent862417b8d32f6eef1c05ba9137fe2a7f14436987 (diff)
drop certificate DST Root CA X3
Let's Encrypt planned the transition to ISRG's root certificate ("ISRG Root X1") on July 8, 2019, but postponed several times. Finally they found another solution: A certificate 'ISRG Root X1', but cross-signed with 'DST Root CA X3' and with a livetime that exceeds that of the root CA. This is said to work for most operating system where root certificate authorities are just 'trust anchors'. I doubt this is true for RouterOS, where certificates are just imported into the certificate store. So let's migrate to 'ISRG Root X1' now.
Diffstat (limited to 'INITIAL-COMMANDS.md')
-rw-r--r--INITIAL-COMMANDS.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/INITIAL-COMMANDS.md b/INITIAL-COMMANDS.md
index fa32654..9df69fa 100644
--- a/INITIAL-COMMANDS.md
+++ b/INITIAL-COMMANDS.md
@@ -10,7 +10,7 @@ procedure please follow [the long way in detail](README.md#the-long-way-in-detai
/ tool fetch "https://git.eworm.de/cgit/routeros-scripts/plain/certs/R3.pem" dst-path="letsencrypt-R3.pem";
:delay 1s;
/ certificate import file-name=letsencrypt-R3.pem passphrase="";
- :if ([ :len [ / certificate find where fingerprint="67add1166b020ae61b8f5fc96813c04c2aa589960796865572a3c7e737613dfd" or fingerprint="96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6" or fingerprint="0687260331a72403d909f105e69bcf0d32e1bd2493ffc6d9206d11bcd6770739" ] ] != 3) do={
+ :if ([ :len [ / certificate find where fingerprint="67add1166b020ae61b8f5fc96813c04c2aa589960796865572a3c7e737613dfd" or fingerprint="96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6" ] ] != 2) do={
:error "Something is wrong with your certificates!";
}
/ file remove "letsencrypt-R3.pem";
@@ -22,7 +22,6 @@ procedure please follow [the long way in detail](README.md#the-long-way-in-detai
:global CertificateNameByCN;
$CertificateNameByCN "R3";
$CertificateNameByCN "ISRG Root X1";
- $CertificateNameByCN "DST Root CA X3";
}
Optional to update the scripts automatically: