Skip to content

Commit

Permalink
Update templates to use better vars
Browse files Browse the repository at this point in the history
  • Loading branch information
dggreenbaum committed Dec 26, 2016
1 parent 6004f17 commit 3ffb40a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/ca-chain.cert.pem.j2
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{{ lookup('file', openssl_pki_certs_ca_root_dir+'/ca/'+openssl_pki_intermediate_ca_name+'/certs/'+openssl_pki_intermediate_ca_name+'.cert.pem') }}
{{ lookup('file', openssl_pki_certs_ca_root_dir+'/ca/certs/ca.cert.pem') }}
{{ lookup('file', openssl_pki_intermediate_cert) }}
{{ lookup('file', openssl_pki_ca_cert) }}
2 changes: 1 addition & 1 deletion templates/intermediate_openssl.cnf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default_ca = CA_default

[ CA_default ]
# Directory and file locations.
dir = {{ openssl_pki_certs_ca_root_dir }}/ca/{{ openssl_pki_intermediate_ca_name }}
dir = {{ openssl_pki_intermediate_ca_path }}
certs = $dir/certs
crl_dir = $dir/crl
new_certs_dir = $dir/newcerts
Expand Down
2 changes: 1 addition & 1 deletion templates/root_openssl.cnf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default_ca = CA_default

[ CA_default ]
# Directory and file locations.
dir = {{ openssl_pki_certs_ca_root_dir }}/ca
dir = {{ openssl_pki_ca_path }}
certs = $dir/certs
crl_dir = $dir/crl
new_certs_dir = $dir/newcerts
Expand Down

0 comments on commit 3ffb40a

Please sign in to comment.