chain certificates

This commit is contained in:
do
2021-02-12 12:11:40 +01:00
parent db72f1aabf
commit de8d3117bb
2 changed files with 13 additions and 0 deletions

View File

@@ -32,5 +32,15 @@
- backup: False
- require:
- x509: /etc/pki/private.key
/etc/pki/chain/{{ cn }}.pem:
file:
- append
- sources:
- /etc/pki/{{ cn }}.crt
- /etc/pki/private.key
- require:
- file: /etc/pki/chain
{% endfor %}

View File

@@ -8,3 +8,6 @@ include:
/etc/pki:
file.directory
/etc/pki/chain:
file.directory