[Dovecot] dovecot 2.2.9 - ssl_cert and ssl_key ignored

Alexandru Bostina alb at alnio.ro
Sun May 11 08:16:40 UTC 2014


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
}


More information about the dovecot mailing list