diff options
author | Christian Hesse <mail@eworm.de> | 2018-12-20 22:21:00 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-12-20 22:21:00 +0100 |
commit | f4673928efaa46a03888063ef5fa3bc2d40eb38e (patch) | |
tree | 16f44a1a4f75e72e440a79ace1342fd95a2c2cd2 /collect-wireless-mac.capsman | |
parent | abdc9b0cbdfcab17ab5d47c0afce7b8c79be931a (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.capsman')
-rw-r--r-- | collect-wireless-mac.capsman | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman index 5e38bd6..986d190 100644 --- a/collect-wireless-mac.capsman +++ b/collect-wireless-mac.capsman @@ -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={ |