Zack Williams | c047c87 | 2017-01-11 08:38:15 -0700 | [diff] [blame] | 1 | --- |
| 2 | # pki-intermediate-ca/defaults/main.yml |
| 3 | |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 4 | pki_dir: "{{ playbook_dir }}/pki" |
| 5 | credentials_dir: "{{ playbook_dir }}/credentials" |
| 6 | |
| 7 | # used to name the intermediate CA |
| 8 | site_name: sitename |
| 9 | site_humanname: "Site HumanName" |
| 10 | site_suffix: sitename.test |
Zack Williams | c047c87 | 2017-01-11 08:38:15 -0700 | [diff] [blame] | 11 | |
| 12 | # crypto parameters |
| 13 | ca_digest: "sha256" |
| 14 | ca_size: 4096 |
| 15 | ca_im_days: 730 |
| 16 | |
| 17 | # passphrases for the certificate |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 18 | ca_im_phrase: "{{ lookup('password', credentials_dir ~ '/ca_im_phrase length=64') }}" |
Zack Williams | c047c87 | 2017-01-11 08:38:15 -0700 | [diff] [blame] | 19 | |
| 20 | # noninteractive csr subject |
Zack Williams | 44845c6 | 2017-04-21 13:57:14 -0700 | [diff] [blame] | 21 | ca_im_subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN={{ site_humanname }} Intermediate CA" |