Control Web Panel

WebPanel => E-Mail => Dovecot => Topic started by: SimeonF on November 29, 2017, 05:10:27 PM

Title: SNI Support
Post by: SimeonF on November 29, 2017, 05:10:27 PM
Hi,

I'm not sure if this belongs here or into the Suggestions Forum ...

Can you add SNI support for Dovecot? (See here  (https://wiki.dovecot.org/SSL/DovecotConfiguration#With_client_TLS_SNI_.28Server_Name_Indication.29_support))

An easy way to do this would b:
- every time a certificate for a domain gets created, get the mx entry for that domain and add that to the certification request
- creating a sni.conf in /etc/dovecot/ and include that in dovecot.conf
- insert the following code:
Code: [Select]
local_name [MX_FOR_DOMAIN] {
  ssl_cert = </etc/pki/tls/certs/[CERT_FOR_DOMAIN]
  ssl_key = </etc/pki/tls/private/[KEY_FOR_DOMAIN]
}