blob: b0482958a21517ba06e7b80b30ec42f331a38bf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
```
|