mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-10 10:04:28 +02:00
global-functions: $CertificateAvailable: fetch by CommonName
Now that we have a proper $UrlEncode function... Fetch certificates by CommonName. Also remove the PEM after import.
This commit is contained in:
parent
7f96e5c966
commit
42834e9de1
7 changed files with 15 additions and 11 deletions
|
@ -27,7 +27,7 @@
|
|||
:local Pass [ :pick ($Comment->2) 5 99 ];
|
||||
:local Id [ :pick ($Comment->3) 3 99 ];
|
||||
|
||||
$CertificateAvailable "Starfield Secure Certificate Authority - G2" "starfield";
|
||||
$CertificateAvailable "Starfield Secure Certificate Authority - G2";
|
||||
:log info ("Local address changed, sending UPDATE to tunnelbroker! New address: " . $PublicAddress);
|
||||
/ tool fetch check-certificate=yes-without-crl \
|
||||
("https://ipv4.tunnelbroker.net/nic/update\?hostname=" . $Id) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue