Alexandru Bostina
2014-May-11 08:16 UTC
[Dovecot] dovecot 2.2.9 - ssl_cert and ssl_key ignored
Hello, It seems that Dovecot ignores the new /ssl_cert and ssl_key /settings. Using them in the dovecot configuration results in the error: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM routines:PEM_read_bio:no start line: Expecting: ANY PRIVATE KEY] Using the old /ssl_//cert//_file/ and /ssl_key_file/ results in their being obsolete warning but no fatal error. -------------- next part -------------- # 2.2.9: /etc/dovecot/dovecot.conf doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:107: ssl_cert_file has been replaced by ssl_cert = <file doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:108: ssl_key_file has been replaced by ssl_key = <file # OS: Linux 3.13.0-24-generic x86_64 Ubuntu 14.04 LTS auth_mechanisms = plain login mail_location = maildir:~/mail namespace inbox { inbox = yes location mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix } passdb { driver = pam } protocols = " imap" service auth { unix_listener /var/spool/postfix/private/auth { group = root mode = 0660 user = postfix } } ssl_cert = </dat/etc/ssl/certs/server.crt ssl_key = </dat/etc/ssl/private/server.key userdb { driver = passwd }
Peter Chiochetti
2014-May-11 08:58 UTC
[Dovecot] dovecot 2.2.9 - ssl_cert and ssl_key ignored
Am 2014-05-11 10:16, schrieb Alexandru Bostina:> Hello, > > It seems that Dovecot ignores the new /ssl_cert and ssl_key /settings. > > Using them in the dovecot configuration results in the error: > Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM > routines:PEM_read_bio:no start line: Expecting: ANY PRIVATE KEY] >Does the file read something like this in the first line?> -----BEGIN RSA PRIVATE KEY------- peter
Apparently Analagous Threads
- Testin new installation
- Testin new installation
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM
- Obtain public key
- Multidomain / IP Address Setup (Dovevot 2.2.10 on CentOS7 ) is failing: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM