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 |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 8 | site_name: placeholder-sitename |
| 9 | site_humanname: "Placeholder Site HumanName" |
| 10 | site_suffix: "{{ site_name }}.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" |