Email and Webmail

Fixing Outlook SSL Certificate Warnings

Updated November 2026 15,999 views 3 min read
Email & Webmail | Updated November 2026

If Outlook shows a certificate warning like "The name on the security certificate is invalid" or "The server you are connected to is using a security certificate that cannot be verified," it means the SSL certificate on the mail server doesn't match the hostname your email client is connecting to. This is easy to fix and doesn't mean your connection is insecure.

01. Why This Happens

When you connect to a mail server over SSL, your email client checks that the SSL certificate matches the hostname you're connecting to. If you connect to mail.yourdomain.com but the server's certificate is issued for yourserver.ultrawebhosting.com, the names don't match and your client shows a warning.

This happens because:

  • The server's primary SSL certificate covers its own hostname (yourserver.ultrawebhosting.com), not every customer's domain
  • Your domain may not have a valid SSL certificate yet (AutoSSL hasn't run), or the certificate expired and is pending renewal
  • You're using an IP address instead of a hostname to connect
Note

The warning doesn't mean your connection is unencrypted. The connection IS encrypted with SSL. The warning is just about the name mismatch. But you should fix it anyway to prevent the popup and ensure proper certificate validation.

02. The Fix

  1. Find your server hostname - log into your client area, click your hosting service, and note the Server Name (e.g., yourserver.ultrawebhosting.com)
  2. Update Outlook - go to File > Account Settings > Account Settings, double-click your email account
  3. Change both server names - set Incoming mail server and Outgoing mail server (SMTP) to your server hostname
  4. Click More Settings > Advanced - verify ports are 993 (IMAP) or 995 (POP3) incoming, 465 outgoing, both with SSL/TLS
  5. Click OK and test - the certificate warning should be gone

Alternative: Fix Your Domain's SSL Certificate

If you prefer to use mail.yourdomain.com, make sure your domain has a valid SSL certificate that covers the mail subdomain. In cPanel > SSL/TLS Status, check if mail.yourdomain.com has a valid certificate. If not, click "Run AutoSSL" to issue one. Once the certificate is active, the warning goes away.

03. After Updating the Server Name

Update the server name on all devices that use this email account (phone, tablet, other computers). The setting change needs to match everywhere.

For complete email setup instructions, see our guides for Outlook, iPhone, and Android. For other Outlook errors, see our Outlook Error Guide.

Still Getting Certificate Warnings?

If the warning persists after changing to the server hostname, open a ticket. The server's SSL certificate may need renewal.

Open a Support Ticket

Frequently Asked Questions

Why does Outlook show a certificate name warning?

It means the SSL certificate on the mail server does not match the hostname your email client is connecting to, for example you entered mail.yourdomain.com but the certificate is issued for the server's own hostname. It does not mean the connection is insecure.

How do I fix the Outlook security certificate warning?

Change the incoming and outgoing server names in your account settings to the server hostname the certificate is issued for, which is shown in cPanel under Email Accounts, Connect Devices. Using that exact hostname makes the certificate match and the warning stops.

Is it safe to just click Yes on the certificate warning?

The connection is still encrypted, so clicking Yes works, but it is better to fix the server name so the certificate matches and the warning does not return. Matching the hostname is the correct, permanent fix.

Where do I find the correct mail server name?

In cPanel open Email Accounts, choose your address, and open Connect Devices, which lists the exact secure incoming and outgoing server names to use. Entering those makes the SSL certificate validate cleanly in Outlook.

Quick Recap

  1. Use your server hostname - yourserver.ultrawebhosting.com instead of mail.yourdomain.com
  2. Find it in client area - under your hosting service details
  3. Update both incoming and outgoing - in your email client's account settings
  4. Or fix your domain's SSL - cPanel > SSL/TLS Status > Run AutoSSL
  5. Update all devices - the hostname change needs to match everywhere

Last updated November 2026 · Browse all Email articles

Share: X in Reddit f Email
  • 407 Users Found This Useful

Was this answer helpful?

Related Articles

Outlook: Error 0x800CCC0D-E

Email & Webmail | Updated November 2026 Outlook error codes 0x800CCC0D and 0x800CCC0E...

Server Does Not Support TLS Connections

Email & Webmail | Updated March 2026 The "Server does not support TLS connections" error...

Server Error 0x800CCC90, Error Number 0x900CCC92

Email & Webmail | Updated November 2026 Error codes 0x800CCC90 and 0x800CCC92 in...

How to Set Up an Email Autoresponder in cPanel

Email and Webmail | Updated July 2026 An autoresponder sends an automatic canned reply to...

How to Migrate Your Email to a New Host

Email and Webmail | Updated July 2026 Moving your email to a new host means copying the...



Save 30% on web hosting - Use coupon code Hosting30