SSL Courier IMAP certificate on Debian
Easy way to create a new certificate instead of the autogenerated one which comes with “apt-get install courier-imap-ssl”:
- check your /etc/courier/imapd.cnf
- move the file /etc/courier/imapd.pem to another name or location
- dpkg-reconfigure courier-imap-ssl
- restart imapd and check if everything was ok