Greetings,
I am trying to setup dovecot on a server with several VHosts. Each one will have its own separate certificate. So far I had no luck with it.
On my dovecot.conf I have added the following:
The problem is that for every domain the primary certificate is used. It is as if the local_name {} setting does not apply.
I am on dovecot 2.1.7
I am trying to setup dovecot on a server with several VHosts. Each one will have its own separate certificate. So far I had no luck with it.
On my dovecot.conf I have added the following:
Code:
ssl_cert = </etc/ssl/certs/example1_com.crt
ssl_key = </etc/ssl/private/example1.com.key
local_name example1.com {
ssl_cert = </etc/ssl/certs/example1_com.crt
ssl_key = </etc/ssl/private/example1.com.key
}
local_name example2.com {
ssl_cert = </etc/ssl/certs/example2_com.crt
ssl_key = </etc/ssl/private/example2.com.key
}
The problem is that for every domain the primary certificate is used. It is as if the local_name {} setting does not apply.
I am on dovecot 2.1.7