intca in /etc/pki and multiple CNS
This commit is contained in:
@@ -15,7 +15,22 @@
|
||||
- signing_policy: host
|
||||
- public_key: /etc/pki/private.key
|
||||
- CN: {{ grains['fqdn'] }}
|
||||
- days_remaining: 30
|
||||
- days_remaining: 90
|
||||
- backup: True
|
||||
- require:
|
||||
- x509: /etc/pki/private.key
|
||||
|
||||
{% for cn in salt['pillar.get']('pki:cns',{}) %}
|
||||
|
||||
/etc/pki/{{ cn }}.crt:
|
||||
x509.certificate_managed:
|
||||
- ca_server: tumor.chaos
|
||||
- signing_policy: host
|
||||
- public_key: /etc/pki/private.key
|
||||
- CN: {{ cn }}
|
||||
- days_remaining: 90
|
||||
- backup: False
|
||||
- require:
|
||||
- x509: /etc/pki/private.key
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user