Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Trusting Self-Signed Certificates in iOS 10

It appears that Apple has removed (or hidden) the ability to trust SSL certificates that are self-signed.


We host our own mail server with a self-signed certificate and previously we could manually trust the certificate on iOS devices. Now, users get prompted that the certificate is not trusted, we can only see details or cancel, there's no longer an option to trust it. As a result, they have difficulty sending or receiving mail from the iOS 10 devices.


Anyone know a workaround for this?

Posted on Nov 7, 2016 8:48 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 31, 2017 11:16 AM

What fixed this issue from my iPhone for me was going to Settings -> General -> About -> Certificate Trust Settings, and there is a section called "ENABLE FULL TRUST FOR ROOT CERTIFICATES". Under it lists the certificate that I installed on my iPhone. Once I enabled that, I'm good to go.

52 replies

May 2, 2017 5:14 PM in response to Kevlar

I had the same issue with an account hosted by Dotster. They couldn't help -- basically were goggling the same 'fixes' we see here and other google-regurgitated tripe. Their cert was a COMODO cert with an expiration of 4/2019 (three year) so it's not like the cert was just renewed. My behavior started after the iOS 10.3 update.


And like a few of you, I'm a server herder from way back -- rolled my own many times. But iOS is wonky - and we forget that it 'remembers' crap unless we go to some effort to overwrite its mysteries. So I removed the account completely from the phone. When I re-entered the account using POP/SMTP and SSL, it gave no alert and allowed me to send successfully. I thought that was weird, but hey -- the account worked. That was fix #1.


I also noted on another account, when I deleted just the SMTP server -- walked all the way out of the settings, power-cycled the phone, then added the SMTP server back in fresh, it then gave me the alert that the cert wasn't trusted, but it ALSO gave me the option to manually trust with the red link. That was fix #2. So this is an iOS issue wherein the interface isn't consistent between settings a SMTP up fresh vs attempting to edit a pre-existing one.


I also played with another SMTP server that was broken like this, not removed from another phone, and it displays the same frustrating details screen MISSING the red TRUST link/button. All worked well when I used my first method on that account, too. Go figure.

May 4, 2017 7:44 PM in response to Ophi

An additional step is now required in iOS 10.3: You must go to General->About->Certificate Trust Settings and turn on the root CA you just installed.


Dear Apple: In my humble opinion (1) these settings do not belong in this totally non-intuitive place (2) the warning when installing the certificate implies turning this on is only necessary for web browsing, but it's necessary in general (3) mail app should NOT go into a spastic frenzy of pop-up panels indicating untrusted SSL certs when connecting to an imap server. #3 renders the iPhone unusable, and you can't even punch through to settings or anything else quickly enough. The panels never stop. Users have to be dexterous enough to quickly turn on airplane mode to regain access to the phone!

May 15, 2017 8:11 AM in response to ct335i

I did all of the above steps but when I click "Certificate Trust Settings" all I see is "Trust Store Version" and below a link that says "Learn more.." I even restarted my iPhone and still nothing. I can see the cert I just installed under "Profile" and it even says "Verified". But, when I go to the iOS Mail App and click Details at the "Cannot Verify.." popup it looks like the same cert but it says "Not Trusted", also the dates are different than the one I can see when I go to settings. How do I get the Mail App to recognise the cert I installed, am I doing something wrong?

Sep 8, 2017 12:46 PM in response to Michael Ojaste

Having the same problem on my iPad Pro with 10.3.3. Downloaded and installed my certificate and shows up in my profile as 'not verified' with no option to trust it. Does not show up under certificate trust settings either.


I have absolutely no problems with my i6s running 10.2.1 when my exchange email is set up the exact same way and I didn't even need to install my cert...

Nov 7, 2016 9:46 AM in response to Kevlar

Try this:

- use another email account on the iPhone

- email the self signed (root) certificate to your mail account on the phone

- open the email and tap the attachment (cert)

- tap install on the top right hand corner and complete installation


Go back to Mail and Calendar settings to add your Exchange mail account. You should now be able to proceed.

Nov 7, 2016 11:56 AM in response to ShagCA

Actually, we're not using Exchange...we're using an older version of OS X Server (10.6.8). I *believe* that SSL is only used for the connection (but could be mistaken).


I am wondering if Apple has changed what kind of self-signed certificates are allowed in the later versions of iOS and that the self-signed certificate 10.6.8 generates isn't compatible anymore. This system has worked just fine for several years with iOS devices and only now has become a problem since some users updated their phones to iOS 10.

Trusting Self-Signed Certificates in iOS 10

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