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 22230320e6
commit aba131d776

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