diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/signed_certificate/README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/signed_certificate/README.md b/roles/signed_certificate/README.md new file mode 100644 index 0000000..b048295 --- /dev/null +++ b/roles/signed_certificate/README.md @@ -0,0 +1,24 @@ +# kompetenzbolzen.stuff.signed_certificate + +## CA Settings + +``` +signed_certificate: + issuer_cn: 'Tets CN' + renew_at: '+5d' + valid_for: '+30d' + privkey_path: '/tmp/ca.key' + privkey_passphrase: '1234' + cert_content: '{{ lookup('file', /tmp/cert.pem) }}' +``` + +## Certificate settings + +``` +cert_name: '{{ ansible_facts.fqdn }}' +key_path: '/etc/ssl/private/' +cert_path: '/etc/ssl/certs/' +alt_name: '{{ "DNS:" + ansible_facts.fqdn }}' +owner: root +group: root +``` |