How to make IMAP4-ssl work with self-certified ?
I always have this maillog error in IMAP port 993 SSL/TSL, in 143 STARTTLS too:
imap4-ssl: couriertls: accept: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate
Imap mailserver only works in 143 (unencrypted connection)
By default "/etc/courier/imapd.cnf" conf works? CN = localhost works?
I remake certificate with "rm -rf /usr/share/courier/imapd.pem; sh /usr/sbin/mkimapdcert; sh /script/restart-mail"
But again maillog error ... Do I need to change something in imapd.cnf?