Apple Intelligence now features Image Playground, Genmoji, Writing Tools enhancements, seamless support for ChatGPT, and visual intelligence.

Apple Intelligence has also begun language expansion with localized English support for Australia, Canada, Ireland, New Zealand, South Africa, and the U.K. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

📰 Newsroom Update

Voice Memos update brings Layered Recordings to iPhone 16 Pro and iPhone 16 Pro Max. Learn more >

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

iPhone cannot verify server identity

Today whenever I enter my e-mail on iOS 10, iPhone 7 a message pops up with 'cannot verify server identity'...previosly this gave you the option to continue, details or cancel...now on iOS 10 the continue option has been dropped so I cannot simply click and get my e-mails...does anyone know how to fix? I have searched online with no joy as all are much older versions of iOS. or based on safari issues.

[Re-Titled by Host]

iPhone 7, iOS 10.0.3

Posted on Oct 19, 2016 1:33 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 29, 2017 6:27 AM

Today, I ran into the same issue with a co-worker of mine.

Somehow he couldn't setup his mail account on his iPhone, while it is running without any issues on mine.

On my iPhone i could select the Trust certificate option while creating the new Exchange account, while the Trust-option wasn't available on his phone.

At first I thought it might be the iOS version (10.2.1 vs 10.3), but I have the account running on my iPhone for over a year already.


The other difference was the WiFi being used: WEP-security on his phone and WPA2 security on mine.

After adding the SSID with WPA2 on his phone, and recreating the account, suddenly the Trust option was there as well.

This is confirmed in Certificate "Not Trusted" on iPhone.

Now it's running like a charm

126 replies
Question marked as Top-ranking reply

Mar 29, 2017 6:27 AM in response to GolfProAL

Today, I ran into the same issue with a co-worker of mine.

Somehow he couldn't setup his mail account on his iPhone, while it is running without any issues on mine.

On my iPhone i could select the Trust certificate option while creating the new Exchange account, while the Trust-option wasn't available on his phone.

At first I thought it might be the iOS version (10.2.1 vs 10.3), but I have the account running on my iPhone for over a year already.


The other difference was the WiFi being used: WEP-security on his phone and WPA2 security on mine.

After adding the SSID with WPA2 on his phone, and recreating the account, suddenly the Trust option was there as well.

This is confirmed in Certificate "Not Trusted" on iPhone.

Now it's running like a charm

Jan 14, 2017 12:44 PM in response to GolfProAL

I had this Same Problem and what I kept doing was Deleting email and then adding back, but that didn't fix

So after a lot of trouble shooting this was what Solved it so I could get the Continue to be able to Trust Certificate

1st Delete the Email Account that's giving you Trouble


2nd Go back to Settings and then Mail then Click on Accounts then click on another email account that you have on there click on it then Outgoing Mail Server

After getting to the Outgoing Mail Server Click on the Email that you deleted in 1st step then Scoll down and

Delete the Server!

3rd and Last Re Add Email Account and the Contiue will pop up to Verify Server


If you need help feel free to message me

Jan 26, 2017 7:27 AM in response to genius2016

genius2016 has the solution here, at least until Apple notice and do something about it.

contoso.com below is a made up MS test name used in examples.


The underlying problem in our case is our Exchange server is https://mail.contoso.com and a first connection to our exchange will go to https://mail.contoso.com/autodiscover. Our server only has contoso.com, not mail.contoso.com on its list of accepted names, so the phone doubts the server. As explained ios users used to have an override button for this so we could look at the cert and determine it is ours actually, just missing the autodiscover name so we can accept it.

This has indeed disappeared in recent ios releases.

In my case Exchange 2010, I needed to enter my domain but it went through after that no problem.


I would recommend the unchecking your SSL option since your email will then be travelling enencrypted over the internet for all hackers to see.


Great fix genius2016, thanks for saving me a lot more time!

Jan 9, 2017 8:16 AM in response to i_rina

I have been using IMAP for years, the only time I EVER have problems is with iOS / MacOS and how it handles SSL certificates. I have their flagship iPhone 7 Plus 256gb, it's a work phone and effectively useless due to this BUG.


It's a new year so my ISP issues new certificates, fine on MacOS I just tell it to trust them, but on iOS I have no control. All I can do is press "cancel" when the pop up (spam?) warning message appears, and wait 2 seconds for the same message, cancel > popup > cancel > popup. I can't quit mail, launch springboards or do anything else when this loop happens. My only option was to turn off the phone and delete the account.


"Mail cannot verify server identity" endless cancel / popup loop made me restart my phone three times today and stopped me using my company email. If this was not Apples doing I would call it Malware. It's not funny, it's pathetic.


You want to be taken seriously for business applications? Fix this.

Feb 21, 2017 12:23 AM in response to GolfProAL

If you're able to receive but not send mail, I can confirm that this is all related to a bug in the SMTP server settings stored on the device. Someone else mentioned a version of this solution earlier, but here's a step-by-step guide to how I finally cleared it up after a day of dangerously high blood pressure:


If you have more than one mail account, skip to step 2.


  1. Only applicable if you have one mail account on your phone: Create a bogus mail account with fake settings. Just get it to be saved as a legit-looking account, and you should be OK.
  2. Delete the problematic account.
  3. In any other mail account, find where all your SMTP servers are listed (Account > SMTP).
  4. The one from the problematic account should still be there. Tap on it to get the details, and hit Delete Server.
  5. Make sure you don't have multiple listings for it. If you do, delete those, too.
  6. Re-add the account you deleted. You should finally get the full Cannot Verify Server Identity dialog with Continue, Details, and Cancel.
  7. Assuming you need to trust the certificate, hit Details. You should see the Trust option. Tap it!
  8. You may need to repeat step 7 to cover both incoming and outgoing servers.
  9. If you created a bogus account in step 1, be sure to delete it or Mail will get stuck on trying to get it to work.


This worked for me. I hope it works for you if you have the same problem I did.

Jan 20, 2017 6:51 PM in response to GolfProAL

We had the same error message after the certificate on our mail server changed to a different name. We have no control over the server as our domain is just one of the many accounts hosted on that server. I tried various fixes to no avail. The problem was resolved by going to Settings -> Mail -> Selecting Email Account -> Turn Of SSL.

This might help some other users.

Jul 31, 2017 1:08 PM in response to GolfProAL

This is a solution for EXCHANGE accounts as of 2017.07.31, iOS 10.3.3.

You won't sacrifice your SSL. I am detailing genius2016's suggestion.


First, when using EXCHANGE accounts, iOS requires 4 things to register your account:


  1. Email address: name.lastname@domain.com
  2. Email password: 123456789
  3. EXCHANGE user name: nlastname
  4. Server (EXCHANGE IP): 000.000.000.00


You should now that regular registration process follows 3 screens or steps:


  1. Checking if the service is available or exists
  2. Checking your EXCHANGE account
  3. Registering your email


Step A, you should employ your EXCHANGE account name (not an email account) to register (your email and user name could either be identical or different, check with your network administrator):


Instead of typing your email:

"name.lastname@domain.com"


Type your "user name" followed by "@" and your "IP" and proceed:

"nlastname@000.000.000.00"


On Step B, you employ the exchange user name ("nlastname@000.000.000.00") & your password.


This will give you an error message, "cannot verify server identity". Click on details, and you will see a new option on the upper right corner, "TRUST". Press that option, and your system will validate and accept the certificate. Then you can continue.


This will take you to the step C: You will enter your data as required (email in the email field, password on the password field, etc.).


My best regards.


-SQR

Jan 21, 2017 9:35 AM in response to GolfProAL

Same issue. I have a hosting account at bluehost.com. There certificate is *.bluehost.com which is fine with me as I know it is them. But my email is my domain. So Apple, the only problem I have is that you broke my email... completely on the iPhone. And it has not been broken for months. Did you mean to drive me to gmail for mail? Because that's what you are doing.

Oct 19, 2016 1:51 PM in response to GolfProAL

Hi GolfProAL,


I understand that you're no longer able to access your email on your iPhone due to a dialog that appears, despite having been able to dismiss this dialog in the past. This dialog indicates that there may be a certificate issue with your e-mail provider's mail server, or there may have been a change to their systems at some point recently. As a first step, I'd try removing the account and setting it back up via the steps outlined below.
  1. On your computer, sign in to your email provider’s website to verify that all of your email is there or check if your email is saved somewhere other than your iOS device.
  2. On your iOS device, tap Settings > Mail, Contacts, Calendars.
  3. Tap the email account you want to remove.
  4. Tap Delete Account.
  5. Add your account again.

If, at that point, you're still getting the message regarding the server's identity, the next step would be to contact your email provider.

  • Contact your email provider or check their status webpage to see if they’re experiencing a service outage.
  • Ask your email provider or system administrator if you have any security features or restrictions, like two-step verification, turned on for your email account. You may need a special password or need to request authorization from your email provider to send and receive email on your device.
  • Check your email account settings with your email provider or system administrator to make sure that they're correct.

Get help with Mail on your iPhone, iPad, and iPod touch



All my best!

Nov 29, 2016 6:10 AM in response to GolfProAL

Hi

I have this problem resolved.

Affected iphone 6 ios 10.1.1

Not affected iphone se 10.1.1


Exchange 2003 self signed cert


Attempts to repair

Reset network settings - no luck

Reset all settings - no luck

Restore phone from backup - no luck

4 hours with apple support, up to senior uk advisor. No answer just that they had not seen this problem before and I appeared to be the only person with this problem so its not a bug !!!!


Every time verifying details had certificate warning but no continue button just option for cancel and details.

Iphone SE prompted for certificate warning but had options for cancel, details and continue.


This has something to do with the ssl security settings / certificates but this fix works.


So on first page of add exchange account add email and password as normal. This brings you to second page.

KEY change your email address to name@externalipaddress not name@domain.com then add the server IP in the box. Leave domain blank. Add your username as just "name" not "name@domain.com" . Thats the login name for your exchange account not your email address. You will then get the certificate warning but now you will have a continue button that was missing before. Just continue and this should work and get all ticks. If you have problems sending mail go back and add the domain in the correct field.


This is an unusual way to make the settings work but then when i go back and check the exchange account settings ios has changed the email from name@externalipaddress to the correct setting name@domain.com.


So i think this is a bug and would like to hear from apple why this works but dont think i will ever get an answer.


Hope you get working.

xx

Feb 15, 2017 2:02 PM in response to GolfProAL

After upgrading to 10.2.1 our customers started having issues with SSL/TLS connections to our servers.


The above suggestions did not work for us. Scouring our server's mail log didn't help much; just saw the TLS disconnect in the log issued by the client.


Our certificate was created at StartSSL (StarCom), and it appears that StarCom root authority will no longer (or is no longer) supported by 10.2.1. Once we purchased a certificate elsewhere and installed it, the iPhone had no issues validating and connecting via TLS. (imap SSL port 143, smtp SSL port 587).


I should mention that Android, Thunderbird and Outlook 2010/2013 did not have issues with our certificate, nor did iOS 10.1.n. Any websites using certificates created at StarCom also worked fine (including Safari).


Well, I hope this helps someone else.

Nov 19, 2016 12:42 PM in response to GolfProAL

I have the same problem. Updated to iOS 10.1.1 Wednesday. Mail worked fine.


Then my service provider updated their certificate Friday and sinne then no go with mail. No way to accept the new certificate. There is nothing wrong in certificate itself - it is from accepted root provider in Apples list. An iPad with older iOS is fine with it. So this has to be a bug with current iOS.


I would really like to find a solution for this. Would hate to have to change for another phone because of broken mail.

iPhone cannot verify server identity

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