TechBuzzPro

iPhone Cannot Verify Server Identity: 6 Fixes

· 6 min read · Phones & Tablets

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

When your iPhone shows “Cannot Verify Server Identity,” it means the device can’t confirm that the server you’re connecting to is legitimate. This usually happens with email accounts (especially Exchange or IMAP), Wi-Fi networks, or when visiting a website with an expired or mismatched SSL certificate. The fix depends on the context, but in most cases you can either trust the certificate temporarily, update your date and time settings, or re-add the account. Below are the exact steps for each scenario.

What You'll Need

  • Your iPhone or iPad (the steps apply to both).
  • The password for the email account or Wi-Fi network you're trying to connect to.
  • Access to the account's server settings (often provided by your email administrator or ISP).

Step-by-Step

1. Check Your Date & Time

  1. Open Settings > General > Date & Time.
  2. Make sure Set Automatically is toggled on. If it's already on, toggle it off, wait a few seconds, then toggle it back on.
  3. If that doesn't help, manually set the correct date, time, and time zone. A wrong date is the most common cause of certificate verification failures.

2. Trust the Certificate (for Email Accounts)

  1. When the “Cannot Verify Server Identity” alert appears, tap Details (or Show Certificate).
  2. Review the certificate details. If the server name matches what you expect and the certificate hasn't expired, tap Trust.
  3. Enter your email password if prompted. The account will then be set up.
  4. Note: Trusting a certificate is permanent for that server. Only do this if you're sure the server is legitimate.

3. For Wi-Fi Networks (Captive Portal)

  1. If the error appears when joining a public Wi-Fi (like at a hotel or café), it's often because the network requires you to sign in via a web page.
  2. Close the error, then open Safari and try to visit any website. You should be redirected to the login page.
  3. If you're not redirected, go to Settings > Wi-Fi, tap the “i” next to the network, and look for Auto-Join or Auto-Login options. Toggle them on if available.
  4. If the network uses a certificate that you trust (e.g., a corporate network), you may need to install it manually (see step 5).

4. Re-add Your Email Account

  1. Go to Settings > Mail > Accounts (or Passwords & Accounts on older iOS).
  2. Select the account that's showing the error and tap Delete Account. This removes the account from your iPhone but does not delete it from the server.
  3. Tap Add Account and re-enter your email address and password.
  4. If it still fails, choose Other and manually enter the incoming and outgoing server settings. You'll need the correct hostnames and ports from your email provider.

5. Install a Certificate Manually (for Corporate/Enterprise)

  1. If your organization uses a self-signed certificate, you'll need to install it first. Open Safari and navigate to the certificate URL provided by your IT department.
  2. Tap Allow when prompted to download the profile.
  3. Go to Settings > General > VPN & Device Management (or Profiles on older iOS).
  4. Tap the downloaded profile and then Install. Enter your passcode if asked.
  5. After installation, go to Settings > General > About > Certificate Trust Settings and enable full trust for the certificate.

6. Reset Network Settings (Last Resort)

  1. Go to Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings.
  2. Enter your passcode and confirm. This will erase all saved Wi-Fi passwords, Bluetooth pairings, and VPN settings, but will not delete your data or apps.
  3. After the reset, reconnect to Wi-Fi and try setting up the email account again.

Common Mistakes

  • Ignoring the date/time check – Many users jump straight to reinstalling the account when a simple date fix solves it.
  • Trusting a certificate without checking – Always verify the server name and expiry date before tapping Trust. Trusting a suspicious certificate can expose your data.
  • Deleting the account without having the server settings – If you don't know your incoming/outgoing server hostnames, you may not be able to re-add the account manually.
  • Using the wrong Wi-Fi network – If you're on a public network, the error might be from the network's captive portal, not your email.

Tips

  • Keep iOS updated to the latest version, as Apple frequently fixes certificate handling bugs.
  • For email, use the provider's official app (like Gmail or Outlook) if the native Mail app keeps failing. Those apps often handle certificates more gracefully.
  • If you're on a corporate network, contact your IT department before trying any fixes. They may have specific instructions or a required certificate.
  • When visiting a website that shows this error in Safari, do not bypass it unless you're certain the site is safe. Check the URL for typos first.

Troubleshooting

If the above steps don't resolve the issue:

  • Restart your iPhone – A simple reboot can clear temporary glitches.
  • Check if other devices have the same problem – If your Mac or PC also fails to connect to the same server, the issue is on the server side, not your iPhone.
  • Try a different network – Switch from Wi-Fi to cellular (or vice versa) to see if the problem is network-specific.
  • Update iOS – Go to Settings > General > Software Update and install any pending updates.
  • Contact your email provider – If you're using a custom domain, the server's SSL certificate might be misconfigured. Your provider will need to fix it.

Frequently Asked Questions

Why does this error keep appearing even after I trust the certificate?

Trusting the certificate is permanent for that server, but if the server's certificate changes (e.g., it's renewed), you may need to trust it again. Also, if you reset network settings or restore your iPhone, the trust is removed.

Is it safe to tap “Trust” on the certificate?

Only if you're certain the server is legitimate. Check the certificate details: the server name should match the address you're connecting to, and the certificate should not be expired. If you're unsure, contact the service provider.

Will deleting my email account delete my emails?

No. Deleting the account from your iPhone only removes it from the device. Your emails remain on the server and will reappear when you re-add the account.

Can I bypass this error for a website?

In Safari, you can tap “Show Details” then “Visit Website” to proceed, but this is not recommended unless you trust the site. It's better to check the URL for typos or contact the site owner.

Why does this happen on public Wi-Fi?

Public Wi-Fi often uses a captive portal (a login page) that may have an untrusted certificate. The error appears because the network's login page is trying to load over HTTPS with a self-signed certificate. Open Safari and try to visit any site to trigger the login page.

Does resetting network settings fix the problem?

It can, but it's a last resort. It clears all saved Wi-Fi passwords and VPN settings, so you'll need to re-enter them. It's most effective when the issue is caused by a corrupted network configuration.