Skip to content

Commit fd34fab

Browse files
authored
Merge pull request #238 from shiftstack/cert-validation-fixes
Generate Python 3.13+ compatible certs
2 parents 98acf07 + 83d9bac commit fd34fab

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

playbooks/roles/simpleca/tasks/main.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
common_name: "simpleca"
3232
basic_constraints:
3333
- "CA:TRUE"
34+
basic_constraints_critical: true
35+
key_usage:
36+
- keyCertSign
37+
- cRLSign
38+
key_usage_critical: true
3439
register: ca_csr
3540

3641
- name: Sign the CA CSR
@@ -83,6 +88,12 @@
8388
- "IP:{{ control_plane_ip }}"
8489
- "IP:{{ hostonly_gateway }}"
8590
- "IP:{{ hostonly_v6_gateway }}"
91+
key_usage:
92+
- digitalSignature
93+
- keyEncipherment
94+
key_usage_critical: true
95+
extended_key_usage:
96+
- serverAuth
8697
register: user_csr
8798

8899
- name: Sign the CSR for {{ cert_user }}

0 commit comments

Comments
 (0)