TechBuzzPro

Outlook Certificate Error Name Invalid Fix Guide

· 7 min read · Apps & Browsers

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

To fix the "Certificate Error: The security certificate presented by this server is invalid" error in Outlook, you must ensure your computer's system date and time are correct and that the server hostname entered in your account settings exactly matches the name listed on the SSL certificate. This error occurs when Outlook detects a mismatch between the server address you are using to connect and the identity verified by the security certificate provided by the mail server.

What You'll Need

  • A Windows PC or Mac with Microsoft Outlook installed.
  • Administrative access to the computer to change system time and date settings.
  • The correct incoming and outgoing server names provided by your email service provider (ISP) or IT administrator.
  • An active internet connection.

Step-by-Step

Depending on your version of Outlook and your operating system, labels and menu paths may differ slightly. These steps are primarily designed for the desktop version of Outlook on Windows.

  1. Verify System Date and Time
    The most common cause of certificate errors is an incorrect system clock. Certificates have a strict validity period; if your computer thinks it is the year 2015 or 2030, it will view a current certificate as either not yet valid or expired.
    Right-click the time and date in the bottom-right corner of your taskbar and select Adjust date/time. Ensure that the Set time automatically toggle is turned On. If it is already on but the time is wrong, toggle it Off and then back On to force a synchronization with the time server. Click Sync now under Additional settings to ensure your clock is perfectly aligned with global time servers. Restart Outlook and check if the error persists.
  2. Check the Server Hostname
    The "Name Invalid" part of the error specifically means the name you typed into Outlook (e.g., mail.yourdomain.com) does not match the name on the certificate (e.g., server123.hostingprovider.com).
    Open Outlook and go to File > Account Settings > Account Settings. Select your email account and click Change. Look at the Server settings for both Incoming mail server and Outgoing mail server (SMTP). Compare these names with the official settings provided by your email host. If your host uses a shared server, they may require you to use the server's generic hostname rather than your own domain name to avoid this certificate mismatch.
  3. Inspect the Certificate Details
    When the error message pops up in Outlook, there is usually a button labeled View Certificate. Click this button to open the certificate window. Look for the "Issued to" field. This field tells you exactly what name the server is expecting. If the "Issued to" name is different from the server name you have configured in your account settings, you must change your Outlook settings to match the name found in the certificate.
  4. Update Root Certificates
    Sometimes the error occurs because your operating system is missing the latest root certificates from the certificate authority (CA) that issued the server's certificate.
    Run Windows Update by going to Settings > Update & Security > Windows Update and clicking Check for updates. Installing all pending updates often installs the latest root certificate updates, allowing Outlook to trust the server's identity again.
  5. Disable Conflicting Security Software
    Some antivirus programs and firewalls use "SSL Scanning" or "Email Scanning" features. These tools intercept the encrypted connection by inserting their own certificate between Outlook and the server. If the antivirus certificate is not trusted by Windows, Outlook will trigger a name invalid error.
    Temporarily disable your antivirus's mail shield or SSL scanning feature in the software's settings. If the error disappears, you may need to import the antivirus software's certificate into your Windows Trusted Root Certification Authorities store or keep the SSL scanning feature disabled for that specific account.
  6. Recreate the Email Profile
    If settings are correct but the error persists, the Outlook profile may be corrupted.
    Close Outlook. Open the Control Panel, search for Mail, and open the Mail (Microsoft Outlook) applet. Click Show Profiles, then click Add to create a new profile. Give it a name and follow the prompts to set up your email account from scratch. Once finished, set the "Always use this profile" dropdown to your new profile and restart Outlook.

Common Mistakes

One of the most frequent mistakes is assuming that because a website (webmail) works in a browser, the settings for the Outlook desktop app are the same. Browsers often handle certificates differently or may be using a different URL than the IMAP/SMTP server addresses. Always use the specific server addresses provided for client software, not the URL you use to log into your email via a web browser.

Another common error is ignoring the "View Certificate" button. Users often try to guess the correct server name by trying variations like mail.domain.com, smtp.domain.com, or pop.domain.com. The certificate itself contains the only correct answer. If the certificate is issued to "ghs.google.com" or "outlook.office365.com," using your own custom domain as the server name will almost always trigger a name invalid error.

Finally, some users attempt to bypass the error by clicking "Yes" to trust the certificate permanently. While this works temporarily, it is a security risk if you are on a public network, and the error will return the moment the certificate expires or the server IP changes, leading to repeated interruptions in mail flow.

Tips

To prevent this issue in the future, always use the official server hostnames provided by your hosting company rather than CNAME aliases. For example, if your host provides "server10.hostingcompany.com," use that instead of "mail.yourdomain.com" if the latter is just a pointer to the former. This ensures the name always matches the SSL certificate.

Keep your operating system updated. Root certificates are updated silently through system updates. If you are using an old version of Windows (like Windows 7), you are much more likely to encounter these errors because the built-in list of trusted authorities is outdated.

If you manage your own server, ensure you are using a Wildcard SSL certificate or a SAN (Subject Alternative Name) certificate. This allows a single certificate to cover multiple names (e.g., mail.domain.com, ftp.domain.com, and domain.com), which prevents users from seeing the name invalid error regardless of which valid hostname they use.

Troubleshooting

If you have followed the steps above and the error still appears, try these advanced checks:

Check for Proxy Settings: Go to Windows Settings > Network & Internet > Proxy. Ensure that "Automatically detect settings" is on and that no manual proxy is interfering with the connection. A proxy server can sometimes strip or replace certificates during transmission.

Test with a Different Network: Connect your computer to a mobile hotspot instead of your primary Wi-Fi or Ethernet. If the error disappears, the issue is likely with your router's firewall or a network-level security appliance (like a corporate firewall) that is performing deep packet inspection (DPI) on SSL traffic.

Verify Port Numbers: Ensure you are using the correct ports for the encryption method selected. For SSL/TLS, IMAP typically uses port 993 and SMTP uses 465 or 587. Using a non-encrypted port with an SSL requirement (or vice versa) can sometimes confuse the handshake process and result in a generic certificate error.

Check Certificate Expiration: Use the "View Certificate" button again and check the "Valid from... to..." dates. If the current date is past the expiration date, no amount of setting changes on your PC will fix the problem. You must contact your email provider and inform them that their server certificate has expired and needs renewal.

Frequently Asked Questions

Why does this error happen suddenly when I haven't changed anything?

This usually happens because the server's certificate expired and was renewed with a different name, or your computer's system clock drifted, making the current certificate appear invalid.

Is it safe to click "Yes" to trust the certificate?

If you are on a trusted home network and you have verified the server identity, it is generally safe for a short time. However, it is a poor long-term fix and leaves you vulnerable to man-in-the-middle attacks on public Wi-Fi.

Does this error mean my email has been hacked?

Not necessarily. While a certificate error can indicate a security interception, it is far more commonly caused by simple configuration mismatches or expired certificates on the provider's end.

Will deleting my email account from Outlook lose my emails?

If you are using IMAP or Exchange, your emails are stored on the server, and deleting the account locally will not delete them from the server. If you are using POP3, your emails may be stored only on your PC; in this case, back up your .pst file before removing the account.

Can my antivirus cause this error?

Yes, antivirus programs with "Email Scanning" or "SSL Inspection" often replace the server's certificate with their own to scan the traffic, which Outlook may flag as invalid.

What is the difference between SSL and TLS in this context?

SSL is the older protocol, and TLS is the modern, secure successor. In Outlook settings, they are often grouped together. The certificate error applies to both because they both rely on the same identity verification system.