I’ve just been given a new Nokia E65 courtesy of work, and, as well as setting it up as sip phone, I wanted to be able to access my personal mail from it.
I ran into one rather annoying problem with this however. I am using a ssl cert that is self signed on my imap server, and, unfortunately, the mail app has no way of saving the cert on the phone, resulting it in continuously bugging me to accept the cert every time it tries to access my mailbox. This is a real pain, and entirely counter productive. There is a way around it, but it’s not especially easy. Then again, if you’re running your own imap and smtp server with self signed certs, chances are this will make total sense to you:
Login to your server and convert CA from .pem format to .der format
cd /path/to/cert
openssl x509 -outform der -in ca.pem -out ca.der
cp /path/to/ca.der /path/to/httpd/htdocs/
cd /path/to/httpd/htdocs/
vi /path/to/mime.types
(add the end of the file, add the following line)
application/x-x509-ca-cert der
restart apache
Once you have done this, you then need to browse from your phone to the location of the ca.der file. When there, click on it, and you should be prompted to install the cert. Once this is done, hey presto, no more bugging!