You open the Mail app and instead of your inbox you get a pop-up: “Cannot Verify Server Identity.” It usually means your iPhone or iPad cannot confirm that your email server is who it claims to be, and in most cases the fix takes under five minutes.
What this error actually means
When you check email, your device talks to a mail server over an encrypted connection. That connection is vouched for by a security certificate. If the certificate is expired, names the wrong server, or your device’s clock is off, your iPhone refuses to trust it and shows this warning.
Do not tap through the warning without thinking. It is a security feature, not a bug. In rare cases it can signal that something on the network is intercepting your connection, so it pays to fix the underlying cause rather than dismiss it. The same alert also appears in Safari, usually on a Wi-Fi login page, and for work or school Exchange accounts that use their own certificates. The checks below start with the Mail case, but reading the certificate works the same wherever the alert shows up.
First, read what the alert tells you
Before changing anything, tap Details on the alert. It shows the certificate itself: which server name it was issued for and when it expires. If the name on the certificate is your hosting company rather than your own mail domain, you have found the cause already, and the server-side fix below is the one to use.
The alert does not always say which account is behind it, so find out before deleting anything. Go to Settings, Apps, Mail, Mail Accounts, then turn Mail off for one account at a time and reopen the Mail app after each one. When the alert stops, the account you just switched off is the one to fix. Turn the others back on as you go.
Fix 1: Check your date and time first
This is the single most common cause. Certificates are only valid for a specific date range, so if your iPhone’s clock is wrong, every certificate looks suspicious.
- Open Settings and tap General.
- Tap Date and Time.
- Turn on Set Automatically. If it is already on, toggle it off and back on to force a refresh.
Now open the Mail app again. If the error is gone, you are done.

Fix 2: Restart your iPhone or iPad
A quick restart clears temporary glitches in the Mail app and network services. Hold the side button and either volume button, slide to power off, wait a few seconds, then power back on.
Fix 3: Delete and re-add the email account
If the error appears for one specific account, the saved server settings or cached certificate may be stale. Removing the account and adding it fresh forces your device to download a clean certificate. If the account also syncs late or not at all once the warning is gone, our guide to Gmail not syncing on iPhone covers the sync side of the same problem.
- Go to Settings, Apps, Mail, and tap Mail Accounts. On older iOS versions the same screen sits directly under Settings, Mail.
- Tap the account that is causing the error.
- Tap Delete Account and confirm. For most modern accounts your messages stay on the server, but Apple warns that mail previously downloaded to the device can be removed when an account is deleted, so check your mail is safe on the provider’s website first.
- Go back, tap Add Account, and set the account up again.
Fix 4: Reset your network settings
Corrupted network settings and cached certificates can also trigger the warning. A reset clears Wi-Fi passwords and Bluetooth pairings but leaves your photos, apps, and data untouched.
- Go to Settings, General, Transfer or Reset iPhone.
- Tap Reset, then Reset Network Settings.
- Enter your passcode and confirm. Reconnect to Wi-Fi and test the Mail app.
Fix 5: Update to the latest iOS or iPadOS
Apple ships updated certificate trust data and security fixes in software updates. Running an old iOS version means your device may distrust servers that are perfectly fine. Go to Settings, General, Software Update and install anything waiting. As of November 2026 the current release is iOS 27, so a phone still on iOS 26 or older is due this update before anything more drastic.

When the problem is on the server side
If every fix above fails, the mail server’s certificate itself may be the issue. This is common with small business or custom-domain email, where the incoming server is set to something like mail.yourdomain.com but the certificate actually belongs to the hosting company.
- Ask your email provider for the correct incoming and outgoing server hostnames, and update them under Settings, Apps, Mail, Mail Accounts, then the account’s server settings. The common trap is typing your own domain, such as mail.yourdomain.com, when the certificate is issued for your host’s server name, such as mail.yourhost.com. Using the exact name on the certificate clears the warning. Apple’s guide to fixing Mail on iPhone and iPad walks through the same remove and re-add steps.
- If you manage the server yourself, check that its certificate has not expired and that it covers the exact hostname you use.
- On public Wi-Fi, some hotspots intercept connections, which also triggers this warning. Switch to cellular data and see if the error disappears. A VPN can do the same thing, so disconnect it and retry before changing any mail settings.
You may see advice online to turn off “Use SSL” for the account. That removes the warning, but it also removes the encryption protecting your email. Treat it as a last resort for troubleshooting only, never as a permanent fix.
Quick recap: fixes in order
| Order | Fix | What it solves |
|---|---|---|
| 1 | Set date and time to automatic | Wrong clock making certificates look invalid |
| 2 | Restart the device | Temporary Mail or network glitches |
| 3 | Delete and re-add the account | Stale cached certificates and server settings |
| 4 | Reset network settings | Corrupted network and certificate caches |
| 5 | Update iOS or iPadOS | Outdated certificate trust data |
| 6 | Correct server hostnames | Certificate names not matching the server |
For most people, the date-and-time check or a fresh account setup ends the story.
- How to Use Gemini in Gmail, Docs and Sheets (Step-by-Step Guide) - December 5, 2026
- How to Fix Steam Disk Write Error on Windows [Fix] - December 4, 2026
- How to Fix WHEA Uncorrectable Error on Windows 11 [Fix] - December 3, 2026
