Dovecot Multi subdomain SSL Cert

1 post / 0 new
#1 Tue, 08/21/2018 - 08:45
JoeDoe

Dovecot Multi subdomain SSL Cert

Hey

Im facing the problem that i want to add multi sub domains to Dovecot's SSL config.
Virtualmin does this by adding a SSL cert per domain and their default sub domains e.g. autoconfig and autodiscover.

local_name autodiscover.domain.tld {
  ssl_cert = </var/www/vhosts/domain/ssl.cert
  ssl_key = </var/www/vhosts/domain/ssl.key
}


Above is only done for the default domain and the following subdomains.
domain.tld
autoconfig.domain.tld
autodiscover.domain.tld

My question is that i want to add multiple sub domains with their SSL cert in dovecot.
I want this to do by editing a Server Template so that up-on creating a Virtual Server this is added automatic to dovecot
But i didn't find such settings

Thanks
~ Joe Doe.