From 865dc57de98578acbe1c97bafbe5a3a84978c708 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 27 Sep 2016 03:25:37 +0000 Subject: [PATCH] call it a crt not a csr --- roles/base/files/postfix/main.cf/main.cf.gateway | 4 ++-- roles/base/tasks/postfix.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/base/files/postfix/main.cf/main.cf.gateway b/roles/base/files/postfix/main.cf/main.cf.gateway index 1ef8dc9bb9..993db91f39 100644 --- a/roles/base/files/postfix/main.cf/main.cf.gateway +++ b/roles/base/files/postfix/main.cf/main.cf.gateway @@ -716,7 +716,7 @@ smtpd_tls_mandatory_exclude_ciphers = aNULL, MD5, RC4 tls_ssl_options = no_ticket, no_compression smtpd_tls_loglevel = 1 -smtpd_tls_cert_file = /etc/pki/tls/certs/gateway.csr +smtpd_tls_cert_file = /etc/pki/tls/certs/gateway.crt smtpd_tls_key_file = /etc/pki/tls/private/gateway.key smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt smtpd_tls_session_cache_timeout = 3600s @@ -738,6 +738,6 @@ smtp_tls_mandatory_protocols = !SSLv2,!SSLv3 smtp_tls_mandatory_ciphers = high smtp_tls_mandatory_exclude_ciphers= aNULL, MD5, RC4 smtp_tls_loglevel = 1 -smtp_tls_cert_file = /etc/pki/tls/certs/gateway.csr +smtp_tls_cert_file = /etc/pki/tls/certs/gateway.crt smtp_tls_key_file = /etc/pki/tls/private/gateway.key smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt diff --git a/roles/base/tasks/postfix.yml b/roles/base/tasks/postfix.yml index f1b31cf6cb..e7956749bf 100644 --- a/roles/base/tasks/postfix.yml +++ b/roles/base/tasks/postfix.yml @@ -56,7 +56,7 @@ tags: - postfix -- name: install /etc/pki/tls/certs/gateway.csr +- name: install /etc/pki/tls/certs/gateway.crt copy: src="{{private}}/files/smtpd/gateway.crt" dest=/etc/pki/tls/certs/