Changed certificate order for pem generation with CA files

pem generation should always start from closer certificate
to the top of the chain. This commit fixes that.

Change-Id: I315bf4f818cc8eb606823a48843f1931e1779223
Closes-Bug: #1493421
This commit is contained in:
Jean-Philippe Evrard 2015-09-08 17:24:15 +02:00
parent 4bcb986f39
commit 3fa25cd0e5
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
- name: regen pem
shell: >
cat {{ haproxy_user_ssl_ca_cert is defined | ternary(haproxy_ssl_ca_cert,'') }} {{ haproxy_ssl_cert }} {{ haproxy_ssl_key }} > {{ haproxy_ssl_pem }}
cat {{ haproxy_ssl_cert }} {{ haproxy_user_ssl_ca_cert is defined | ternary(haproxy_ssl_ca_cert,'') }} {{ haproxy_ssl_key }} > {{ haproxy_ssl_pem }}
notify: Restart haproxy
- name: Restart haproxy