summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJim Minter <jim-minter@users.noreply.github.com>2015-08-21 12:04:48 +0100
committerJim Minter <jim-minter@users.noreply.github.com>2015-08-21 12:04:48 +0100
commitb07822c575cb876f9af5389e1353acce7e19ce00 (patch)
tree0ad645b9a75eacbb168c9fdc92d585867b5317a4 /roles
parent2f5486c7174eeacdd52938442daa2ddfa6a8e277 (diff)
downloadopenshift-b07822c575cb876f9af5389e1353acce7e19ce00.tar.gz
openshift-b07822c575cb876f9af5389e1353acce7e19ce00.tar.bz2
openshift-b07822c575cb876f9af5389e1353acce7e19ce00.tar.xz
openshift-b07822c575cb876f9af5389e1353acce7e19ce00.zip
Make CA lifetime 365 days, not 30
Diffstat (limited to 'roles')
-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"