postfix and letsencrypt: use the fullchain file.

This commit is contained in:
Andrea Dell'Amico 2020-04-09 16:54:35 +02:00
parent 8b7e86a722
commit ae9dfca4e6
1 changed files with 1 additions and 1 deletions

View File

@ -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