forked from daschatten/cert-formula
-
Notifications
You must be signed in to change notification settings - Fork 35
/
pillar.example
39 lines (39 loc) · 1.03 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
cert:
# # use lookup section to override 'map.jinja' values
# lookup:
# # define source directory for certs
# cert_source_dir: salt://files/certs/
certlist:
name_of_cert:
key: |
KEY HERE
name_of_2nd_cert:
cert: |
CERT HERE
key: |
KEY HERE
name_of_3rd_cert:
key: |
KEY HERE
cert_user: root
key_user: root
cert_group: root
key_group: ssl-cert
cert_mode: 644
key_mode: 640
cert_dir: /etc/ssl/certs/
key_dir: /etc/ssl/private
cert_ext: .crt # The default certificate and key file extension values
key_ext: .key # are known to work. Changing them must be done carefully
name_of_4th_cert: {} # cert has no private key to deploy
name_of_cert_you_want_removed:
remove: true # will remove cert and key with this name!
key: |
KEY HERE
cert: |
CERT HERE
cert_dir: /usr/local/share/ca-certificates
key_dir: /etc/ssl/private