On my Debian box the following were used:
/etc/ssl/certs/dovecot.pem and /etc/ssl/certs/dovecot.pem were the default locations check your /etc/dovecot/dovecot.conf before running.
openssl req -new -x509 -nodes -out /etc/ssl/certs/dovecot.pem -keyout /etc/ssl/private/dovecot.pem -days 3650
/etc/init.d/dovecot restart
I got tired of renewing the certificate so I issued one that lasts 10 years.
(apparently it does not take that much to make me tired)
Advertisements
thanks for the info, it was very useful 🙂
on my config i needed to use the following:
openssl req -new -x509 -nodes -out /etc/ssl/certs/dovecot.cert -keyout /etc/ssl/private/dovecot.key -days 3650
and for slackware the restart is
/etc/rc.d/rc.dovecot restart
with newer versions of dovecot the config files are in /etc/dovecot/conf.d/*.conf as well as the basic /etc/dovecot/dovecot.conf
to check your existing files if the config is in the separate directory cat /etc/dovecot/conf.d/*.conf|grep ssl
does the trick.
Comment by timsoft — May 9, 2013 @ 9:24 am |