diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-08-21 10:14:45 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-08-21 10:14:45 -0400 |
commit | 922b87ede66f6b7e376d1f46e13327077cd41719 (patch) | |
tree | 0ad645b9a75eacbb168c9fdc92d585867b5317a4 /roles/etcd_ca | |
parent | 2f5486c7174eeacdd52938442daa2ddfa6a8e277 (diff) | |
parent | b07822c575cb876f9af5389e1353acce7e19ce00 (diff) | |
download | openshift-922b87ede66f6b7e376d1f46e13327077cd41719.tar.gz openshift-922b87ede66f6b7e376d1f46e13327077cd41719.tar.bz2 openshift-922b87ede66f6b7e376d1f46e13327077cd41719.tar.xz openshift-922b87ede66f6b7e376d1f46e13327077cd41719.zip |
Merge pull request #500 from jim-minter/fix-etcd-ca-lifetime
Make CA lifetime 365 days, not 30
Diffstat (limited to 'roles/etcd_ca')
-rw-r--r-- | roles/etcd_ca/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/etcd_ca/tasks/main.yml b/roles/etcd_ca/tasks/main.yml index ab151fe5b..8a266f732 100644 --- a/roles/etcd_ca/tasks/main.yml +++ b/roles/etcd_ca/tasks/main.yml @@ -37,6 +37,7 @@ openssl req -config openssl.cnf -newkey rsa:4096 -keyout ca.key -new -out ca.crt -x509 -extensions etcd_v3_ca_self -batch -nodes -subj /CN=etcd-signer@{{ ansible_date_time.epoch }} + -days 365 args: chdir: "{{ etcd_ca_dir }}" creates: "{{ etcd_ca_dir }}/ca.crt" |