diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-12-10 21:52:44 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-12-11 11:20:41 +0100 |
commit | 4ed6f0982cc0553e31e7beadf441beb8573a07d4 (patch) | |
tree | b8ad71b56dc8d9a237e308877922500b46c351e7 /tests/tls-sni/remote.conf | |
parent | 09376bac4fe99c542223ba0ae23ad6067410b1fa (diff) |
libinterimap: add support for the TLS SNI (Server Name Indication) extension.
This is controlled by the new 'SSL_hostname' option. The default value
of that option is the value of the 'host' option when it is hostname,
and the empty string (which disables SNI) when it is an IP literal.
Diffstat (limited to 'tests/tls-sni/remote.conf')
-rw-r--r-- | tests/tls-sni/remote.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tls-sni/remote.conf b/tests/tls-sni/remote.conf new file mode 100644 index 0000000..4ccfb44 --- /dev/null +++ b/tests/tls-sni/remote.conf @@ -0,0 +1,7 @@ +!include conf.d/imapd.conf +!include conf.d/ssl.conf + +local_name imap.example.net { + ssl_cert = <conf.d/dovecot.rsa2.crt + ssl_key = <conf.d/dovecot.rsa2.key +} |