letsencrypt: Try and put the combined cert in the format stunnel likes
Right now it's adding the cert without a newline at the end, but it also expects the cert to be at the top and the intermediate below it. So, swap them around and try putting a newline in it. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
dd7cb18a31
commit
925760331c
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@
|
|||
- name: Install certificate bundle
|
||||
copy: >
|
||||
dest=/etc/pki/tls/certs/{{site_name}}.bundle.cert
|
||||
content="{{certbot_chain.stdout}} {{certbot_certificate.stdout}}"
|
||||
content="{{certbot_certificate.stdout}
|
||||
certbot_chain.stdout}}"
|
||||
owner=root
|
||||
group=root
|
||||
mode=0644
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue