Package: dovecot-core
Version: 1:2.2.27-2
Severity: important
Dear Maintainer,
I get consistent errors when trying to activate SNI for dovecot.
The following configuration works without any problems:
ssl = required
ssl_cert = </path/to/certificate
ssl_key = </path/to/privkey
but when I activate SNI:
ssl = required
local_name mail.server.com {
ssl_cert = </path/to/certificate
ssl_key = </path/to/privkey
}
I receive the error:
imap-login: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
routines:PEM_read_bio:no start line: Expecting: ANY PRIVATE KEY
on login.
The key has not changed in the above to cases, and starts with
-----BEGIN RSA PRIVATE KEY-----
....
-----END RSA PRIVATE KEY-----
Thanks for your consideration
Norbert
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages dovecot-core depends on:
ii adduser 3.115
ii init-system-helpers 1.47
ii libbz2-1.0 1.0.6-8.1
ii libc6 2.24-9
ii libexttextcat-2.0-0 3.4.4-2+b1
ii liblz4-1 0.0~r131-2+b1
ii liblzma5 5.2.2-1.2+b1
ii libpam-runtime 1.1.8-3.5
ii libpam0g 1.1.8-3.5
ii libssl1.1 1.1.0e-1
ii libstemmer0d 0+svn585-1+b2
ii libwrap0 7.6.q-26
ii lsb-base 9.20161125
ii openssl 1.1.0e-1
ii ucf 3.0036
ii zlib1g 1:1.2.8.dfsg-5
dovecot-core recommends no packages.
Versions of packages dovecot-core suggests:
pn dovecot-gssapi <none>
ii dovecot-imapd 1:2.2.27-2
pn dovecot-ldap <none>
pn dovecot-lmtpd <none>
pn dovecot-lucene <none>
pn dovecot-managesieved <none>
pn dovecot-mysql <none>
pn dovecot-pgsql <none>
pn dovecot-pop3d <none>
ii dovecot-sieve 1:2.2.27-2
pn dovecot-solr <none>
pn dovecot-sqlite <none>
pn ntp <none>
Versions of packages dovecot-core is related to:
ii dovecot-core [dovecot-common] 1:2.2.27-2
pn dovecot-dbg <none>
pn dovecot-dev <none>
pn dovecot-gssapi <none>
ii dovecot-imapd 1:2.2.27-2
pn dovecot-ldap <none>
pn dovecot-lmtpd <none>
pn dovecot-managesieved <none>
pn dovecot-mysql <none>
pn dovecot-pgsql <none>
pn dovecot-pop3d <none>
ii dovecot-sieve 1:2.2.27-2
pn dovecot-sqlite <none>
-- no debconf information