forked from ISTI-ansible-roles/ansible-roles
postfix and letsencrypt: use the fullchain file.
This commit is contained in:
parent
8b7e86a722
commit
ae9dfca4e6
|
@ -755,7 +755,7 @@ readme_directory = no
|
||||||
# TLS parameters
|
# TLS parameters
|
||||||
{% if letsencrypt_acme_install is defined %}
|
{% if letsencrypt_acme_install is defined %}
|
||||||
{% if postfix_use_letsencrypt %}
|
{% if postfix_use_letsencrypt %}
|
||||||
smtpd_tls_cert_file={{ letsencrypt_acme_certs_dir }}/cert
|
smtpd_tls_cert_file={{ letsencrypt_acme_certs_dir }}/fullchain
|
||||||
smtpd_tls_key_file={{ letsencrypt_acme_certs_dir }}/privkey
|
smtpd_tls_key_file={{ letsencrypt_acme_certs_dir }}/privkey
|
||||||
{% else %}
|
{% else %}
|
||||||
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
|
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
|
||||||
|
|
Loading…
Reference in New Issue