mirror of
https://github.com/cwchristerw/tjas-infra
synced 2025-09-20 11:12:52 +00:00
Add missing basicConstraints to use certificate as CA in OpenSSL tasks
This commit is contained in:
@@ -486,6 +486,12 @@
|
|||||||
organizationName: "{{ config.openssl.certificates[cert].organization.name }}"
|
organizationName: "{{ config.openssl.certificates[cert].organization.name }}"
|
||||||
organizationalUnitName: "{{ config.openssl.certificates[cert].organization.unit }}"
|
organizationalUnitName: "{{ config.openssl.certificates[cert].organization.unit }}"
|
||||||
countryName: FI
|
countryName: FI
|
||||||
|
basicConstraints:
|
||||||
|
- 'CA:TRUE'
|
||||||
|
basic_constraints_critical: true
|
||||||
|
key_usage:
|
||||||
|
- keyCertSign
|
||||||
|
key_usage_critical: true
|
||||||
loop: "{{ config.openssl.certificates.keys() | list }}"
|
loop: "{{ config.openssl.certificates.keys() | list }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ cert }}"
|
label: "{{ cert }}"
|
||||||
@@ -508,6 +514,12 @@
|
|||||||
stateOrProvinceName: "{{ config.openssl.certificates[cert].location.providence }}"
|
stateOrProvinceName: "{{ config.openssl.certificates[cert].location.providence }}"
|
||||||
localityName: "{{ config.openssl.certificates[cert].location.city }}"
|
localityName: "{{ config.openssl.certificates[cert].location.city }}"
|
||||||
countryName: FI
|
countryName: FI
|
||||||
|
basicConstraints:
|
||||||
|
- 'CA:TRUE'
|
||||||
|
basic_constraints_critical: true
|
||||||
|
key_usage:
|
||||||
|
- keyCertSign
|
||||||
|
key_usage_critical: true
|
||||||
loop: "{{ config.openssl.certificates.keys() | list }}"
|
loop: "{{ config.openssl.certificates.keys() | list }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ cert }}"
|
label: "{{ cert }}"
|
||||||
|
Reference in New Issue
Block a user