fix retry in ca state. add subjectAltName to influxdb.crt

This commit is contained in:
m0duspwnens
2021-03-11 10:49:15 -05:00
parent 3385ba2ca2
commit 3b74d987c1
2 changed files with 4 additions and 2 deletions

View File

@@ -43,8 +43,9 @@ pki_private_key:
- require: - require:
- file: /etc/pki - file: /etc/pki
- timeout: 30 - timeout: 30
- retry: 5 - retry:
- interval: 30 attempts: 5
interval: 30
x509_pem_entries: x509_pem_entries:
module.run: module.run:

View File

@@ -79,6 +79,7 @@ removeesp12dir:
- signing_policy: influxdb - signing_policy: influxdb
- public_key: /etc/pki/influxdb.key - public_key: /etc/pki/influxdb.key
- CN: {{ manager }} - CN: {{ manager }}
- subjectAltName: DNS:{{ HOSTNAME }}
- days_remaining: 0 - days_remaining: 0
- days_valid: 820 - days_valid: 820
- backup: True - backup: True