From 7fa9fbe40aa00df3638edff3c6cd744bf8f5b973 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 2 Sep 2021 22:48:56 +0200 Subject: signed_certificate README --- roles/signed_certificate/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 roles/signed_certificate/README.md (limited to 'roles/signed_certificate') 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 +``` -- cgit v1.2.3