File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 72
72
copy :
73
73
content : |
74
74
{{ intermediate_ca_csr_signed.data.certificate }}
75
- dest : " {{ vault_pki_certificates_directory }}/{{ vault_pki_intermediate_ca_name | replace(' ', '-') }}.pem "
75
+ dest : " {{ vault_pki_certificates_directory }}/{{ vault_pki_intermediate_ca_name | replace(' ', '-') }}.crt "
76
76
mode : 0600
77
77
delegate_to : " {{ vault_pki_write_certificates_host }}"
78
78
when :
Original file line number Diff line number Diff line change 98
98
- OS-CERT-TEST2.pem
99
99
100
100
- name : concatenate CAs
101
- shell : |
102
- cat /tmp/OS-TLS-ROOT.pem /tmp/OS-TLS-INT.pem > /tmp/CA-CHAIN.pem
101
+ shell : |
102
+ cat /tmp/OS-TLS-ROOT.pem /tmp/OS-TLS-INT.crt > /tmp/CA-CHAIN.pem
103
103
args :
104
104
executable : /bin/bash
105
105
become : true
106
106
107
107
- name : verify certificate chain
108
- command : |
108
+ command : |
109
109
openssl verify -CAfile /tmp/CA-CHAIN.pem
110
110
/tmp/{{ item }}
111
111
register : verify_result
You can’t perform that action at this time.
0 commit comments