← All error fixes

"Cannot Verify Server Identity" on iPhone and iPad

Updated 23 November 2026

Cannot Verify Server Identity
The identity of "mail.example.com" cannot be verified by Mail.
Review the certificate details to continue.
[Cancel] [Details] [Continue]

What it means: your iPhone checked the mail server's security certificate (its ID card) and something didn't match: the name is different, it has expired, or your iPhone doesn't recognise who issued it.

Most of the time it's harmless: a wrong date on your phone, a mail server name that doesn't match your provider's certificate, or a certificate your provider forgot to renew. But because it can mean someone is intercepting the connection, don't tap Continue or Trust until you've checked.

Don't worry: just seeing this message doesn't mean you've been hacked.

Need it fixed now? Ask a tech expert →Affiliate link: we may earn a commission, at no extra cost to you.

Step 1: Is your email provider having problems?

Type your email provider's website (for example outlook.com or your internet provider's site). We'll check it from our server.

Many people affected?

If your provider's certificate expired, everyone using it sees this. Wait for them to renew it, and check their status page or social media.

Only you?

It's your iPhone's settings or network. Try the fixes below.

Step 2: Try these easy fixes first

  1. Set the date and time automatically Easy · 30 secondsSettings › General › Date & Time, turn on Set Automatically. A wrong date makes every certificate look invalid.
  2. Close Mail and restart your iPhone Easy · 2 minutesSwipe Mail away, then restart the phone.
  3. Switch networks Easy · 1 minuteTurn Wi-Fi off and use mobile data (or the other way round). Public, hotel and work Wi-Fi sometimes interfere with secure connections; if the message only appears on one network, avoid that network for email.
  4. Update iOS Easy · 10 minutesSettings › General › Software Update. Updates refresh the list of trusted certificate issuers.

Step 3: Still appearing? Check your mail settings

  1. Check the server names. Go to Settings › Apps › Mail › Mail Accounts (older iOS: Settings › Mail › Accounts), tap the account, then the account's address. Compare the Incoming and Outgoing host names with the settings on your provider's help page. A name like mail.yourdomain.com often doesn't match a certificate made for mail.provider.com.
  2. Make sure SSL is on and the ports match your provider's instructions (commonly 993 for IMAP and 465 or 587 for sending).
  3. Delete and re-add the account. For Gmail, Outlook, iCloud and Yahoo, choose the provider's button instead of "Other": iOS then sets everything up correctly.
When is it OK to tap "Trust"?
  1. Tap Details and look at who the certificate is for and who issued it.
  2. Only trust it if it's your own provider's or company's mail server, you're on a network you trust (home Wi-Fi or mobile data), and your provider or IT team has confirmed the certificate. Many workplace and small-business servers use their own certificates on purpose.
  3. If the name looks unfamiliar, or it only happens on public Wi-Fi, tap Cancel. Someone could be trying to read your email.

Why does this happen?

Safari shows the same problem as "This Connection Is Not Private". See our guide to that warning.

Common questions

What does "Cannot Verify Server Identity" mean on iPhone?

It means your iPhone couldn't confirm that the mail server is who it says it is, because its security certificate doesn't match, has expired or isn't trusted. It's usually a settings or date problem, but it can also mean the connection is being intercepted.

Is it safe to tap Continue?

Only if you've checked the certificate details, it belongs to your own provider or workplace, and you're on a trusted network. If you're on public Wi-Fi or don't recognise the name, tap Cancel.

Why did this start after an iOS update?

Updates sometimes tighten security rules, so certificates that were accepted before are now rejected. Check your mail server settings against your provider's help page, or delete and re-add the account.

Why does it keep coming back?

The underlying mismatch hasn't been fixed. Correct the server names in your account settings, or ask your email provider to fix or renew their certificate.

Still stuck? Ask a certified tech expert and get an answer in minutes, any time of day.

Ask a tech expert →

Affiliate link: we may earn a commission, at no extra cost to you.

Related help

Got another app or site that won't load?

Check any website