Cannot Verify Server Identity

Fix iOS 17 'Cannot Verify Server Identity' Error in 2 Minutes

iOS 17's 'Cannot Verify Server Identity' pops up when your iPhone's certificate trust settings are off. Here's the quick fix—plus why it happens and how to stop it returning.

I know this error is infuriating—especially when you're on a deadline and your mail app just won't cooperate. But the fix is quick and you don't need to be a tech wizard. Let's get to it.

The Quick Fix: Turn On Full Trust for the Certificate

The most common cause is iOS 17's stricter certificate validation. Your server's SSL certificate isn't trusted by default, so the iPhone prompts you. Here's the 2-minute fix:

  1. Open SettingsGeneralAbout.
  2. Scroll down and tap Certificate Trust Settings.
  3. Under Enable Full Trust for Root Certificates, toggle on the switch next to your certificate (it'll usually show the server name or issuer).
  4. Tap Continue when the warning appears.
  5. Go back to your Mail app and refresh—the error should be gone.

If you don't see your certificate listed there, try this alternative path:

  1. Open SettingsGeneralVPN & Device Management.
  2. Tap the profile that contains the certificate (often your company's or school's).
  3. Tap Install if it's not already, then follow the prompts.
  4. Now revisit Certificate Trust Settings and enable full trust.

Why This Works

iOS 17 tightened security around server identity verification. When your iPhone connects to a mail server, it checks the server's SSL certificate against a list of trusted root certificates. If the certificate is self-signed or issued by a private CA (common for corporate or small business servers), iOS doesn't recognize it and throws the error. Enabling full trust tells iOS, "Hey, I know this certificate, let it through." It's like adding a friend to your contacts so their calls don't get flagged as spam.

This fix works because it directly addresses the certificate chain issue. The server's certificate is actually valid—it's just not in iOS's default trust store. By manually trusting it, you're bypassing the unknown-CA problem without lowering overall security.

Less Common Variations (and How to Tackle Them)

1. The Error Only Happens on Public Wi-Fi

If you see "Cannot Verify Server Identity" only when connected to a coffee shop or airport Wi-Fi, the network is likely intercepting HTTPS traffic (a captive portal or a firewall with SSL inspection). In that case, the fix above won't help. Instead:

  • Try switching to cellular data to see if the error disappears.
  • If it does, the network is the culprit. Use a VPN or skip that network for mail.

2. The Error Appears for a Specific Email Account Only

If it's just one account (say, your work Exchange), the server's certificate might have expired or been renewed incorrectly. Check with your IT admin. You can also delete and re-add the account:

  1. Go to SettingsMailAccounts.
  2. Tap the problematic account and hit Delete Account.
  3. Re-add it with the correct server settings. Sometimes this resets the trust state.

3. The Error Is a Blank Alert with No Option to Trust

In rare cases, iOS won't show the "Trust" button. This happens when the certificate is malformed or the server's hostname doesn't match the certificate's domain. The fix isn't on your phone—you need to contact the server admin to correct the certificate. Don't waste time trying to bypass it; it's a server-side issue.

Prevention: Stop It From Coming Back

Once you've trusted the certificate, the error shouldn't return unless:

  • The server renews its certificate with a new key (then you'll need to trust the new one).
  • You reset network settings or restore your iPhone.
  • You join a different network that uses SSL inspection.

To minimize future headaches:

  • Keep iOS updated. Apple occasionally patches certificate handling bugs.
  • If you're an admin, use a publicly trusted CA (like Let's Encrypt) so users don't have to manually trust anything.
  • For personal devices, consider using an email service that doesn't require self-signed certs—like Gmail or iCloud—if you're tired of these prompts.

The real fix is to trust the certificate only if you know it's legitimate. If you're unsure, contact whoever manages the server before enabling full trust. Blindly trusting unknown certificates can expose your data to man-in-the-middle attacks. But for a known server, this fix is safe and effective.

That's it. Two minutes, a few taps, and you're back to your inbox. If this doesn't solve it, the issue is likely server-side or network-related—so check those next.

Related Errors in Mobile – iOS
Fix iOS 17 Stuck on Apple Logo After Update This Accessory Is Not Supported iOS Error: 'This Accessory Is Not Supported' — Real Fixes Cannot Verify Server Identity iOS 'Cannot Verify Server Identity' error fix Fixing 'This Accessory May Not Be Supported' on iPhone

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.