I wanted to configure imapd-ssl for my mail server so that I could setup my Android for mail sync;however, I kept seeing the following error in my maillog:

imapd-ssl: couriertls: /usr/local/share/courier-imap/imapd.pem: error:0906D06C:PEM routines:PEM_read_bio:no start line

I was using openssl to generate an RSA self signed certificate. It seems that imapd is picky in that the key and certificate have to be contained in one file. Thanks to some google foo I found some notes on this handy site.

About Barry McCall
Infosec major, general gadget nerd.

Leave a Reply

Your email address will not be published. Required fields are marked *