Use wlan_eap_ca_crl
for URL of the certificate revocation list
This commit is contained in:
parent
f6b77c64cf
commit
320ad3a51d
4 changed files with 520 additions and 508 deletions
22
doc/wlan.md
22
doc/wlan.md
|
@ -106,6 +106,10 @@ Every devices gets his own certificate. When creating new certificates, the old
|
|||
Values:
|
||||
* true
|
||||
* false <-- (default)
|
||||
* **wlan_eap_ca_crl**
|
||||
URL of the certificate revocation list
|
||||
Type: *String*
|
||||
Default: "http://radius.{{ domain }}/radius-ca.crl"
|
||||
|
||||
### Examples
|
||||
|
||||
|
@ -128,6 +132,7 @@ laptop:
|
|||
emailAddress: "admin@example.com"
|
||||
CN: "Radius Certificate Authority"
|
||||
password: "secret4radiusCA"
|
||||
wlan_eap_ca_crl: "http://radius.example.com/radius-ca.crl"
|
||||
```
|
||||
|
||||
## complex example with both modes
|
||||
|
@ -139,12 +144,15 @@ inventory.yml
|
|||
all:
|
||||
vars:
|
||||
wlan_ssid: "WLAName" # teacher and staff are using the same ssid
|
||||
radiusca_password: "secret4radiusCA"
|
||||
country_name: "DE"
|
||||
state_or_province_name: "Baden-Württemberg"
|
||||
locality_name: "Stuttgart"
|
||||
organization_name: "Baumschule"
|
||||
admin_email: "admin@example.com"
|
||||
wlan_eap_ca:
|
||||
C: "DE"
|
||||
ST: "Baden-Wuerttemberg"
|
||||
L: "Reutlingen"
|
||||
O: "Linuxschule"
|
||||
emailAddress: "admin@example.com"
|
||||
CN: "Radius Certificate Authority"
|
||||
password: "secret4radiusCA"
|
||||
wlan_eap_ca_crl: "http://radius.example.com/radius-ca.crl"
|
||||
|
||||
infrastructure:
|
||||
hosts:
|
||||
|
@ -179,4 +187,4 @@ The issue of certificates can be forced.
|
|||
Force issue of new certs for hosts in group laptop_teacher.
|
||||
If there is a valid certificate, the old one will be revoked and a new certificate will be issued.
|
||||
|
||||
ansible-playbook -i myinventory.yml -l laptop_teachers lmn-client.yml -e "wlan_force_issue=true"
|
||||
ansible-playbook -i myinventory.yml -l laptop_teachers lmn-client.yml -e "wlan_force_issue=true"
|
||||
|
|
1003
inventory.yml
1003
inventory.yml
File diff suppressed because it is too large
Load diff
|
@ -11,4 +11,5 @@ wlan_eap_ca:
|
|||
emailAddress: "admin@example.com"
|
||||
CN: "Radius Certificate Authority"
|
||||
password: "OtherVerySecurePassw0rd"
|
||||
wlan_eap_ca_crl: "http://radius.{{ domain }}/radius-ca.crl"
|
||||
wlan_enable_on_boot: true
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
ansible.builtin.get_url:
|
||||
force: true
|
||||
mode: "0644"
|
||||
url: "http://radius.steinbeis.schule/radius-ca.crl"
|
||||
url: "{{ wlan_eap_ca_crl }}"
|
||||
dest: /tmp/radius-ca.crl
|
||||
when: cert_client_active.stat.exists
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue