postfix: Wrong value for the chain cert.
This commit is contained in:
parent
b20d06b37f
commit
940d74debc
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ class postfix {
|
||||||
}
|
}
|
||||||
|
|
||||||
if $postfix_chain {
|
if $postfix_chain {
|
||||||
file { "${ssl::certs}/chain.crt":
|
file { "${ssl::certs}/postfix-chain.crt":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
source => $postfix_chain,
|
source => $postfix_chain,
|
||||||
mode => "0644",
|
mode => "0644",
|
||||||
|
|
|
@ -732,7 +732,7 @@ smtpd_sasl_security_options = noanonymous
|
||||||
#
|
#
|
||||||
smtpd_use_tls=yes
|
smtpd_use_tls=yes
|
||||||
<% if has_variable?("postfix_chain") -%>
|
<% if has_variable?("postfix_chain") -%>
|
||||||
smtpd_tls_CAfile = <%= postfix_chain %>
|
smtpd_tls_CAfile = <%= scope.lookupvar('ssl::certs') %>/postfix-chain.crt
|
||||||
<% end -%>
|
<% end -%>
|
||||||
smtpd_tls_cert_file=<%= scope.lookupvar('ssl::certs') %>/postfix.crt
|
smtpd_tls_cert_file=<%= scope.lookupvar('ssl::certs') %>/postfix.crt
|
||||||
smtpd_tls_key_file=<%= scope.lookupvar('ssl::private') %>/postfix.key
|
smtpd_tls_key_file=<%= scope.lookupvar('ssl::private') %>/postfix.key
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue