aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.local
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-12-20 22:21:00 +0100
committerGravatar Christian Hesse <mail@eworm.de>2018-12-20 22:21:00 +0100
commitf4673928efaa46a03888063ef5fa3bc2d40eb38e (patch)
tree16f44a1a4f75e72e440a79ace1342fd95a2c2cd2 /collect-wireless-mac.local
parentabdc9b0cbdfcab17ab5d47c0afce7b8c79be931a (diff)
global-functions: make $CertificateAvailable work on CommonName
This should prevent endless certificate switching for Let's Encrypt cross-signed intermediate certificates.
Diffstat (limited to 'collect-wireless-mac.local')
-rw-r--r--collect-wireless-mac.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local
index 1a1e5ac..14d2781 100644
--- a/collect-wireless-mac.local
+++ b/collect-wireless-mac.local
@@ -39,7 +39,7 @@
:local datetime ([ / system clock get date ] . " " . [ / system clock get time ]);
:local vendor;
:do {
- $CertificateAvailable "731d3d9cfaa061487a1d71445a42f67df0afca2a6c2d2f98ff7b3ce112b1f568";
+ $CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";
:set vendor ([ / tool fetch mode=https check-certificate=yes-without-crl \
url=("https://api.macvendors.com/" . [ :pick $mac 0 8 ]) output=user as-value ]->"data");
} on-error={