iOS 4 Mail and self-signed certificates

I connect to a mail server that has a self-signed certificate. Under previous versions of iOS, this meant that I would have to allow the server connection once after a phone restore or update; however under iOS 4.2.1, I have to allow the certificate every time I access mail after the phone has been idle for the 'lock' time.

Can I get iOS 4.2.1 to trust the self-signed certificate the mail server uses?

MacPro Quad Core, G4 1000bT, MacBookPro, mini server, Mac OS X (10.6.5), 10.6.5 Server on MacPro

Posted on Nov 23, 2010 2:59 AM

Reply
91 replies

Nov 25, 2010 8:46 AM in response to johninsj

Sure. Yes, doesn't seem to matter. Public DNS for host and host on cert are one in the same.

Apple just needs to include the install dialogue and the time of prompt (which they did not do on this rev of the iOS) and we are set. But, I fear this will be a while in that we can't get patches OTA, hence the rapid search for a workaround by all of us.

Nov 25, 2010 1:40 PM in response to Syth

Great. You want to do the ssl cert in use for dovecot AND postfix or sendmail. The former for the getting of email and the other for the sending.

Nov 27, 2010 12:43 PM in response to SuperNurtay

Yes SuperNurtay that is how it should work. Problem is, it does not. As all the other posts speak to, one can accept the cert and it might quash the alerts until screen-lock or iOS restart, but they do not allow the perm accept. What should happen on details is to 'Install' so you can hold the acceptance.

The only way I have found to do this with iOS 4.2.1 is to email the .pem files from the server to yourself and upon download in MobileMail you get the option to install the cert as you should get when you setup email accounts.

Nov 30, 2010 10:16 PM in response to jemenake0

I am disconnecting from the thread now. For everyone who can, emailing yourself the .pem files for the cert and downloading them via MobileMail on the iPhone does work to get you the iOS dialogue screens you need to permanently trust the self-signed cert. Been running on this for many days now.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iOS 4 Mail and self-signed certificates

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.