|
@@ -27,7 +27,7 @@
|
|
|
|
|
|
- name: Creating signed server cert and key for {{ cert_info.procure_component }}
|
|
- name: Creating signed server cert and key for {{ cert_info.procure_component }}
|
|
command: >
|
|
command: >
|
|
- {{ openshift.common.admin_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig ca create-server-cert
|
|
|
|
|
|
+ {{ openshift.common.client_binary }} adm --config={{ mktemp.stdout }}/admin.kubeconfig ca create-server-cert
|
|
--key={{generated_certs_dir}}/{{cert_info.procure_component}}.key --cert={{generated_certs_dir}}/{{cert_info.procure_component}}.crt
|
|
--key={{generated_certs_dir}}/{{cert_info.procure_component}}.key --cert={{generated_certs_dir}}/{{cert_info.procure_component}}.crt
|
|
--hostnames={{cert_info.hostnames|quote}} --signer-cert={{generated_certs_dir}}/ca.crt --signer-key={{generated_certs_dir}}/ca.key
|
|
--hostnames={{cert_info.hostnames|quote}} --signer-cert={{generated_certs_dir}}/ca.crt --signer-key={{generated_certs_dir}}/ca.key
|
|
--signer-serial={{generated_certs_dir}}/ca.serial.txt
|
|
--signer-serial={{generated_certs_dir}}/ca.serial.txt
|