diff options
author | Vishal Patil <vishal.patil@nuagenetworks.net> | 2016-10-21 16:28:50 -0400 |
---|---|---|
committer | Vishal Patil <vishal.patil@nuagenetworks.net> | 2016-10-21 16:28:50 -0400 |
commit | fc08e18d79e957783da3f8fa0ec97bac7a1a13d8 (patch) | |
tree | eed904aa0ef6bee4b9220d07ee86aff3d341b2d6 /roles/nuage_node | |
parent | b5570b656e59756ad6ea5b24be253f15d0e3ca41 (diff) | |
download | openshift-fc08e18d79e957783da3f8fa0ec97bac7a1a13d8.tar.gz openshift-fc08e18d79e957783da3f8fa0ec97bac7a1a13d8.tar.bz2 openshift-fc08e18d79e957783da3f8fa0ec97bac7a1a13d8.tar.xz openshift-fc08e18d79e957783da3f8fa0ec97bac7a1a13d8.zip |
Added a parameter for cert validity
Diffstat (limited to 'roles/nuage_node')
-rw-r--r-- | roles/nuage_node/tasks/certificates.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nuage_node/tasks/certificates.yml b/roles/nuage_node/tasks/certificates.yml index 0fe6f7bac..7fcd4274d 100644 --- a/roles/nuage_node/tasks/certificates.yml +++ b/roles/nuage_node/tasks/certificates.yml @@ -15,7 +15,7 @@ - name: Generate the crt file command: > - openssl x509 -req -in "{{ nuage_plugin_rest_client_crt_dir }}/restClient.req" -CA "{{ nuage_ca_crt }}" -CAkey "{{ nuage_ca_key }}" -CAserial "{{ nuage_ca_serial }}" -out "{{ nuage_ca_master_plugin_crt }}" -extensions clientauth -extfile "{{ nuage_ca_dir }}"/openssl.cnf + openssl x509 -req -in "{{ nuage_plugin_rest_client_crt_dir }}/restClient.req" -CA "{{ nuage_ca_crt }}" -CAkey "{{ nuage_ca_key }}" -CAserial "{{ nuage_ca_serial }}" -out "{{ nuage_ca_master_plugin_crt }}" -extensions clientauth -extfile "{{ nuage_ca_dir }}"/openssl.cnf -days {{ nuage_mon_cert_validity_period }} delegate_to: "{{ nuage_ca_master }}" - name: Remove the req file |