From 42834e9de1a7cdf2b57d41ce9b1e2d11d0089ffc Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 30 Apr 2019 16:11:47 +0200 Subject: global-functions: $CertificateAvailable: fetch by CommonName Now that we have a proper $UrlEncode function... Fetch certificates by CommonName. Also remove the PEM after import. --- update-tunnelbroker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update-tunnelbroker') 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) \ -- cgit v1.2.3-54-g00ecf