aboutsummaryrefslogtreecommitdiffstats
path: root/update-tunnelbroker
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-04-30 16:11:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2019-04-30 16:52:53 +0200
commit42834e9de1a7cdf2b57d41ce9b1e2d11d0089ffc (patch)
tree957e8839610ddc30a3c700d1b40384aaf1de49e8 /update-tunnelbroker
parent7f96e5c9669f30cd22914de7f092d009faddf304 (diff)
global-functions: $CertificateAvailable: fetch by CommonName
Now that we have a proper $UrlEncode function... Fetch certificates by CommonName. Also remove the PEM after import.
Diffstat (limited to 'update-tunnelbroker')
-rw-r--r--update-tunnelbroker2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-tunnelbroker b/update-tunnelbroker
index f6674b6..7d0fc35 100644
--- a/update-tunnelbroker
+++ b/update-tunnelbroker
@@ -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) \