summaryrefslogtreecommitdiffstats
path: root/roles/etcd_ca
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-08-21 10:14:45 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-08-21 10:14:45 -0400
commit922b87ede66f6b7e376d1f46e13327077cd41719 (patch)
tree0ad645b9a75eacbb168c9fdc92d585867b5317a4 /roles/etcd_ca
parent2f5486c7174eeacdd52938442daa2ddfa6a8e277 (diff)
parentb07822c575cb876f9af5389e1353acce7e19ce00 (diff)
downloadopenshift-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.yml1
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"