Quick answer
- Direct fact: Apple Mail shows unable to verify the identity of the server when your mail server sends a certificate that macOS does not trust or that names another server.
- Fast fix: Select Show Certificate, confirm that your server name is right and tick its trust box. Then select Connect or OK and enter your Mac password.
- If it returns: Fix your incoming server name, set SSL to Always Trust in Keychain Access or ask your mail host to install a valid certificate.
Apple Mail stops with unable to verify the identity of the server when a mail server shows a certificate that macOS cannot check. Self-signed certificates, wrong server names and expired certificates cause it, and Mail repeats that warning at every launch until you settle it. Below are Apple's trust steps for a verify server identity error, a hostname fix, a Keychain reset and a backup method to use before you remove an account.
Why does Apple Mail say unable to verify the identity of the server?
Apple Mail cannot verify server identity when your mail server uses a certificate signed by an unknown authority, such as a self-signed certificate. Apple's guide states that you can still connect, yet Mail warns you at every launch until you trust that certificate. Read Apple's page, If Mail can't verify a server's certificate, for that wording.
Hosting providers explain a second cause of Apple Mail verify server identity errors. Their support pages say a certificate fails when its name does not match your incoming server name. Typical triggers when Apple Mail cannot verify server identity:
- A self-signed certificate on your mail host.
- An incoming server such as
mail.yourdomain.comwhile your certificate names a hosting server. - An expired certificate on your mail server.
- Network devices that block SSL or TLS traffic.
Cause decides your fix for a verify server identity error, so read your certificate before you trust it.
How to fix unable to verify the identity of the server in Apple Mail?
To fix unable to verify the identity of the server, select Show Certificate in Mail's warning, check that its server name is yours and tell Mail to always trust it. These steps follow Apple's page, Trust a certificate in Mail.
- In Mail's Verify Certificate window, select Show Certificate.
- Read certificate details and confirm that its server name is your mail server. Do not trust a name you do not know.
- Tick that box so Mail always trusts that certificate. Select Details to see current trust policies.
- Select Connect or OK.
- Enter your Mac account password when asked. For a root certificate, Apple says to enter name and password of an administrator on that Mac.
- Send and receive a test email to confirm that Apple Mail no longer says it cannot verify server identity.
InMotion Hosting adds a detail for self-signed certificates. After you select Show Certificate, expand Trust and set Secure Sockets Layer (SSL) and X.509 Basic to Always Trust, then test incoming and outgoing mail. Its guide, fix Mac Mail verify server identity, shows that order for a Mac Mail verify server identity warning. To change trust later, Apple says to open Keychain Access.
How to fix a server name mismatch in Apple Mail?
To fix a mismatch that leaves Apple Mail unable to verify server identity, replace your incoming server name with your certificate's name. AccuWebHosting states that errors appear when a certificate does not match your server name in settings, and its fix swaps mail.yourdomain.com for a hosting server name. Your host publishes that name, so ask support if you do not know it.
- Open Mail, select Mail in your menu bar, then Settings and Accounts.
- Select your account, then Server Settings.
- Enter your host's server name under incoming mail server. Use that same name for outgoing mail.
- Confirm ports, since wrong ports also leave Apple Mail unable to verify server identity. IMAP with SSL uses 993, POP3 with SSL uses 995 and SMTP uses 465 or 587.
- Save changes and send a test email.
AccuWebHosting's page, identity cannot be verified by Mail, lists these ports for iPhone and iPad. Mac Mail uses that same server and port logic. Menu names differ by macOS release.
What if Apple Mail keeps asking to verify server identity?
If Mail still asks, Always Trust did not save for its right policy. One Apple Community thread, Always trust an SSL certificate in Mail, has users who report prompts at every launch even after they tick that trust box. Replies in that thread suggest choosing that SSL option under that box. One user reports success after deleting bad certificates in Keychain Access, adding your root certificate again and choosing Always Trust from Mail's dropdown. That thread closed without a confirmed Apple fix, so treat these as user reports.
- Open Keychain Access and search for your mail server name.
- Double-click your certificate and expand Trust.
- Set Secure Sockets Layer (SSL) to Always Trust.
- Close that window and enter your password to save.
- Quit and reopen Mail, then check mail.
If Apple Mail cannot verify server identity after that, your mail host must fix its certificate. Hosting guides agree on that last step: contact your administrator when settings and trust do not clear a verify server identity error. To keep a copy of your IMAP mail meanwhile, read how to download IMAP emails from a server.
How to back up your Apple Mail account before you remove it?
Use Corbett Email Backup Software to save your mailbox before you delete and add your account again. Its page says it connects over IMAP and POP3, saves PST, MBOX, EML, MSG, PDF, CSV, HTML or TXT, and works on Windows. MBOX opens in Thunderbird and Apple Mail. It does not fix a verify server identity error. It gives you a safe copy first. Free demo backs up 10 emails per folder.
Steps to back up your mail before you re-add your account
- Install Corbett Email Backup Software on a Windows PC. It connects from that PC to your mail provider, not to your Mac.
- Select IMAP Server or your provider, then enter your email address and password.
- Tick folders to save. Inbox, Sent, Drafts and nested folders switch on or off one by one.
- Choose MBOX for Apple Mail or Thunderbird, or PST for Outlook.
- Select a save location, then start backup and watch live progress.
- Open your log and CSV report to confirm folder totals.
That matters most for POP accounts, where mail can sit only on your Mac. With IMAP, mail also stays on your server. Test your backup in free demo before you buy. Lifetime licence starts at $99 with a 30-day money-back window. For another route from an IMAP host, Corbett IMAP Migration Tool moves mail from one account to another.
Which fix for unable to verify the identity of the server is best?
Match your verify server identity fix to its cause. Trust your certificate when you own that server. Change your server name when your certificate names another server. Reset Keychain trust when prompts return. Ask your host when an expired certificate causes that warning.
| Cause of verify server identity error | Fix | Where | Best for |
|---|---|---|---|
| Self-signed certificate | Show Certificate, then Always Trust | Mail warning window | Your own or hosted mail server |
| Server name mismatch | Use certificate's server name | Mail account Server Settings | Shared hosting accounts |
| Prompt returns after trust | Set SSL to Always Trust | Keychain Access | Repeated prompts |
| Expired certificate | Host installs a valid certificate | Mail host | Errors that trust cannot clear |
| Before removing an account | Back up mailbox to MBOX or PST | Corbett Email Backup Software | POP accounts and large mailboxes |
Can network settings cause a verify server identity error?
Yes. A firewall, proxy or security tool that inspects SSL traffic can swap your server's certificate for its own, and Mail then cannot verify server identity. AccuWebHosting lists DNS and blocked SSL or TLS traffic as checks. Test that same Apple Mail account on another network, such as a phone hotspot. If your error vanishes, your first network is its cause.
Update macOS if Apple Mail cannot verify server identity on every network, because system updates refresh trusted root certificates. To move mail to another account after you settle that error, see how to export GoDaddy email to Outlook.
Key takeaways
- Apple Mail cannot verify server identity when a certificate comes from an unknown authority or names another server.
- Show Certificate, then a trust tick and your Mac password, stops most verify server identity warnings.
- A verify server identity mismatch needs your host's server name in Server Settings.
- Repeated verify server identity prompts point to SSL trust in Keychain Access or a host-side certificate problem.
- Back up your mailbox before you remove an account that says unable to verify server identity. Corbett Email Backup Software saves MBOX or PST, and free demo backs up 10 emails per folder.
Questions about Apple Mail server identity
What does unable to verify the identity of the server mean?
Apple Mail cannot verify server identity because your mail server's certificate is valid or trusted. Apple says an unknown signing authority, such as a self-signed certificate, triggers it.
Is it safe to trust a certificate when Apple Mail cannot verify server identity?
Trust it only when its server name is yours. Read certificate details first, because trusting an unknown name lets that server handle your mail.
Why does Apple Mail keep asking to verify server identity?
Trust did not save for its right policy, or your server name does not match its certificate. Set SSL to Always Trust in Keychain Access and check your server name, since Apple Mail cannot verify server identity without both.
How do I trust a certificate in Apple Mail?
Select Show Certificate, tick that trust box, then select Connect or OK and enter your password. Apple lists these steps in its Mail guide.
Can I change trust later after Apple Mail cannot verify server identity?
Yes. Apple says to use Keychain Access to change a certificate's trust policy.
Which ports does Apple Mail use to verify server identity?
IMAP with SSL uses 993, POP3 with SSL uses 995 and SMTP uses 465 or 587. Confirm them with your host.
Does removing and adding my account fix it?
It helps when settings are wrong, but a verify server identity error returns when certificates stay bad. Back up your mail first, mainly for POP accounts.
Will I lose emails if I remove an IMAP account?
IMAP keeps mail on your server, so it downloads again. Mail stored only on your Mac is gone, so back it up first.
Can Corbett software fix certificate errors?
No. Corbett Email Backup Software saves a copy of your mailbox so a fix or account reset carries no risk to your mail.
How many emails does free demo back up?
Corbett's page says free trial backs up 10 emails per folder. Full edition lifts that cap.