How to fix ‘Cannot verify server identity’ error on your iPhone

When your iPhone prompts you with, “cannot verify server identity” error, it’s telling you that the mail server’s certificate is fake. In short, this error occurs due to your iPhone’s strict verification of your mail server certificates. It’s one of the most common errors encountered in iOS devices when using the Mail app. Read on to learn what causes this error on your iPhone and how to fix it.

For iPhone owners who found our site while trying to find a solution, try to see if your phone is one of the devices we support. If it is, then visit the troubleshooting page for that device, browse through it to find issues that are similar with yours and feel free to use our solutions and workarounds. However, if you still need our help after that, then fill up our iPhone issues questionnaire and hit submit to contact us.

What triggers the “cannot verify server identity” error to occur on your iPhone?

To connect to a mail server securely, your iPhone will try to fetch the server’s SSL certificate and then check if it is reliable. If it finds that the certificate doesn’t match the domain name, expired or not signed the company, it will be marked as unreliable. And this is when the “Cannot Verify Server Identity” error pops up. This error usually occurs when a new email account is set up on your iOS device or after changing the mail server certificate. The same thing can happen after migrating an email account.

Generally, the error is attributed to the untrusted or invalid email server settings. There are also some instances when iOS bugs are to blame. To give you some clues, I’ve mapped out some of the most recommended troubleshooting methods and possible solutions in this post. Feel free to refer to this walkthrough whenever you need help getting rid of the “cannot verify server identity” on your iPhone.

Before troubleshooting, check and ensure that the date and time information on your iPhone are correct. If necessary, set the date and time to automatic. If everything is good with the date and time, then you may proceed and try these subsequent solutions.

First solution: Quit and restart the Mail app.

This could also occur among other random in-app errors with the Mail app. And oftentimes, errors like these are rectified by restarting the app. If you’ve recently opened the Mail app on your device, then quit it first so you can restart it.

If you are using earlier iPhones with a physical Home button, quitting background apps is carried out using these steps:

  1. Go to the Home screen to get started.
  2. Then swipe up from the bottom of the screen and then pause slightly in the middle.
  3. Swipe right or left to find Messages app.
  4. Then swipe up on the Messages app card/preview to close it.

If you’re using an iPhone 8 or earlier models, this is how you clear out background apps:

  1. Double-press the Home button to view your most recently used apps.
  2. Then navigate through app previews by swiping left or right.
  3. And to close the app, swipe up on it’s preview.

After ending all background apps, retry launching Mail and see if the error is gone. If it recurs, then you’ve got to move on to the next possible solution.

ALSO READ: How to fix iPhone XR App Store app won’t install update issue

Second solution: Soft reset/reboot the iPhone.

Another possible solution to this error is a device restart or soft reset. This is most likely what you need if the error is inflicted by minor system glitches. There are different ways to soft reset an iPhone.

If you’re using an iPhone X, XS, XS Max, or XR, follow these steps to soft reset:

  1. Press and hold the Side button and either Volume button until the Power off slider appears.
  2. Drag the slider to power off your iPhone completely.
  3. Then after 30 seconds, press the Side button again to turn your iPhone back on.

If you’re using an iPhone 8, 8 Plus, or earlier versions, performing a soft reset or restart is done this way:

  1. Press and hold the Top or Side button until the Power off slider appears.
  2. Drag the slider to power off the phone completely.
  3. After about 30 seconds, press and hold the Top or Side button again to turn the phone back on.

Performing the above steps won’t affect any saved information on the phone’s internal memory, hence creating a backup won’t be necessary. After this, try and see if the error “cannot verify server identity” still pops up.

Third solution: Remove your email account then add it back.

Many people who have encountered the same error when using Mail on their iOS device where able to find remedy by removing the email account and adding it back. If you wish to give it a shot, then here’s how it’s done:

  1. Tap Settings from the Home screen.
  2. Tap Accounts & Passwords.
  3. Navigate to the Accounts section.
  4. Then tap to select the email account that you want to delete.
  5. Tap the Delete Account button at the bottom part of the screen.
  6. Then tap Delete from My iPhone to confirm that you want to delete the email account. The selected email will then be removed.
  7. After deleting the email account, go back to Settings-> Accounts & Passwords menu.
  8. Then tap the option to Add Account.
  9. Select your email service provider.
  10. Enter all the required information.

Then follow the onscreen instructions to complete the entire email setup process. If you’ve set up multiple email accounts on your iPhone, then you should remove and recreate them too. If the error “cannot verify server identity” still shows up after this, move on to the next solution.  

Fourth solution: Update iOS and carrier settings.

Updates may also be the key to rectifying the “cannot verify server identity” error if it’s inflicted by iOS bugs. Updates usually embed fix patches to address existing device issues that are attributed to system bugs. If your iPhone has no problem with the Internet connection, then you can check for and update iOS wirelessly. Just make sure that your device has ample of storage space and battery life the complete the entire process.

  • To check for iOS update, go to Settings-> General-> Software Update menu.

An update notification will show up if a new iOS version is available. Read and review the update information and then follow the onscreen instructions whenever you’re all set to start downloading and installing the update.

Aside from iOS updates, installing carrier updates can also be considered among other remedies especially if the error is attributed to network problems.

  • To check for carrier settings update, navigate to Settings-> General-> About menu then scroll to Carrier section.

Follow the onscreen instructions to download and install the update on your iPhone.

Wait for your iPhone to finish updating and once it’s finished, reboot it to apply the recent system changes.

ALSO READ: How to fix an Apple iPhone XR that is not recognized in iTunes, error 0xE

Fifth solution: Reset network settings.

This reset clears out your recent network settings including customized networks and then restores the default network options and values. If the error is attributed to incorrect or invalid network settings, then performing this reset will likely solve it. Here’s how it’s done:

  1. From the Home screen, tap on Settings.
  2. Tap General.
  3. Scroll down to and tap on Reset.
  4. Select the option to Reset network settings.
  5. If prompted, enter the passcode to continue.
  6. Then tap the option to confirm that you want to reset network settings on your phone.

The phone reboots automatically when the reset is finished. By then you can start setting up your Wi-Fi network to reconnect to the Internet and use online services. Once your device is connected, open the Mail app and see if the error is gone.

Last resort: Factory reset/master reset.

The error likely persists if complex system errors are the underlying cause. In this case, your last option would be a master reset or factory reset on your iPhone. This will erase everything from your device including fatal system errors that might have caused conflicts to your email server settings and triggered the stubborn “cannot verify server identity” error. Should you wish to proceed, back up all your important data to iCloud or iTunes so you can still recover them later. Once you’re all set, follow these steps to factory reset your iPhone through settings:

  1. From the Home screen, tap on Settings.
  2. Tap General.
  3. Scroll down to and tap on Reset.
  4. Choose the option to Erase all content and settings.
  5. If prompted, enter your passcode to proceed.
  6. Then tap the option to confirm full system reset on your iPhone.

After the reset, you will need to set up everything on your device like the way you did when you first used your iPhone. Just use the start-up wizard to set up your iPhone as new. When setting up your email account, be sure to input the correct email account credentials. Once everything is set up and your device is online, check to see if the error is gone by launching the Mail app.

Still getting “cannot verify server identity” error on your iPhone?

It is possible that the error persists due to a problem with your email service provider. For example, the email server may be having some technical difficulties and it’s currently under maintenance. In this case, you can contact your service provider to verify the current status of the email server. You can also ask your service provider/carrier to help you check and re-configure the SMTP settings or incoming and outgoing server on your device.

Alternatively, you can report the problem to Apple Support so that they can make some further assessments to determine whether or not the problem is with the Apple servers.

Connect with us

We are committed to helping our readers fix the problems with their phones as well as learn how to properly use their devices. So, if you have other issues, you may visit our troubleshooting page so you can check by yourself the articles we’ve already published that contain solutions to common problems. Also, we do create videos to demonstrate how things are done on your phone. Visit our Youtube Channel and please subscribe to it. Thanks.