# 2.0.beta4: /etc/dovecot/dovecot.conf # OS: Linux 2.6.28.finerTEK i686 Gentoo Base System release 1.12.11.1 ----------------------------------------------------------- Multiple SSL certificates (v2.0+) local imap.example.org { ssl_cert = </etc/ssl/certs/imap.example.org.crt ssl_key = </etc/ssl/private/imap.example.org.key } local imap.example2.org { ssl_cert = </etc/ssl/certs/imap.example2.org.crt ssl_key = </etc/ssl/private/imap.example2.org.key } # ..etc..With v1.x you need to use multiple instances with multiple configurations. ----------------------------------------------------------------------------- which file should i put the "local imap.foo.bar {... } " in? i tried put it in ssl.conf, and comment the original ssl_cert and ssl_key lines. and start dovecot with -F parameter but doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: ssl enabled, but ssl_cert not set please help me thanks Sam _________________________________________________________________ ?????????Windows Live????????? http://windowslivesky.spaces.live.com/blog/cns!5892B6048E2498BD!889.entry
On Sat, 2010-04-17 at 23:03 +0800, WangSamuel wrote:> which file should i put the "local imap.foo.bar {... } " in? > i tried put it in ssl.conf, and comment the original ssl_cert and ssl_key lines. > and start dovecot with -F parameter > but > > doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: ssl enabled, but ssl_cert not setDovecot still wants to have a default ssl_key/ssl_cert in the config root level.