move key_usage var to defaults

This commit is contained in:
histausse 2021-09-09 20:27:24 +02:00
parent 7368a241f2
commit 73594369e3
Signed by: histausse
GPG key ID: 67486F107F62E9E9
2 changed files with 4 additions and 4 deletions

View file

@ -1 +1,4 @@
---
key_usage:
- digitalSignature
- keyEncipherment

View file

@ -33,10 +33,7 @@
basic_constraints:
- CA:FALSE # syntax?
basic_contraints_critical: yes
key_usage: # need more works on this
- digitalSignature
- keyEncipherment
- clientAuth
key_usage: "{{ key_usage }}"
key_usage_critical: yes
subject_alt_name: "{{ subject_alt_name | default(omit) }}"
# TODO: add a revocation methode, most probably crl, with crl_distribution_points