


How to fix: err_cert_common_name_invalid error in Google Chrome
The "err_cert_common_name_invalid" error in Google Chrome indicates a mismatch between the website's security certificate and the domain name you're trying to access. This means the certificate's Common Name (CN) – the main name it's issued for – doesn't match the website's address in your browser's address bar. To fix this, you need to investigate the root cause, which could involve several factors. Here are the most common solutions:
- Check the website address: Carefully double-check the URL you're entering. A simple typo can cause this error. Ensure there are no extra characters or incorrect spellings.
- Clear your browser's cache and cookies: Sometimes, outdated cached data can interfere with certificate verification. Go to Chrome's settings (three vertical dots in the top right corner), select "More tools," then "Clear browsing data." Select "Cached images and files" and "Cookies and other site data," and choose a time range (at least the last hour, ideally more). Then click "Clear data."
- Check your system's date and time: Incorrect system time can lead to certificate validation issues. Ensure your computer's date and time are accurate and synchronized with a time server.
- Update your operating system: Outdated operating systems might have issues with certificate validation. Check for and install any available updates for your operating system.
- Update your antivirus and firewall software: Outdated or incorrectly configured security software can sometimes interfere with certificate verification. Update your antivirus and firewall software to the latest versions.
- Temporarily disable your antivirus and firewall: If updating doesn't resolve the issue, temporarily disable your antivirus and firewall to see if they're the source of the problem. Remember to re-enable them afterward.
- Use a different browser: Try accessing the website using a different browser (like Firefox or Edge). If the website loads correctly in another browser, the issue is likely specific to Chrome's configuration.
- Contact the website administrator: If none of the above steps work, the problem might lie with the website's certificate itself. Contact the website's administrator and report the error.
Why am I getting the "err_cert_common_name_invalid" error in Chrome?
The "err_cert_common_name_invalid" error arises because Chrome's security mechanisms detect a discrepancy between the Common Name (CN) field in the website's SSL/TLS certificate and the domain name you're attempting to access. This mismatch indicates a potential security risk. Chrome prevents access to prevent you from being a victim of a man-in-the-middle attack or other malicious activity where a fraudulent certificate might be used to impersonate a legitimate website. Essentially, the certificate is saying "I'm for this website," but Chrome sees the address you're trying to reach and says, "No, that's not the website this certificate is for."
What are the potential causes of the "err_cert_common_name_invalid" error?
Several factors can contribute to the "err_cert_common_name_invalid" error:
- Incorrectly configured SSL certificate: The most common cause is an improperly configured SSL certificate on the website's server. The certificate's Common Name might not accurately reflect the website's domain name, or it might be missing entirely. This is often the website's responsibility to fix.
- Typographical errors in the website address: A simple spelling mistake in the URL can lead to this error, as the browser is trying to match the certificate to an incorrect domain.
- Outdated or corrupted browser cache: Cached data can sometimes interfere with certificate verification, leading to false-positive errors.
- System clock discrepancies: An incorrect system time can affect certificate validation, as certificates have expiration dates.
- Firewall or antivirus interference: Security software can sometimes block or interfere with the certificate verification process.
- Self-signed certificates or untrusted certificate authorities: If the website uses a self-signed certificate or a certificate from an untrusted Certificate Authority (CA), Chrome might refuse to accept it due to security concerns.
How can I permanently resolve the "err_cert_common_name_invalid" error in Chrome to prevent it from recurring?
A permanent solution depends on the root cause. If the problem originates from the website's end (incorrectly configured certificate), you have limited control. However, you can ensure that your browser and system are properly configured to minimize the chances of encountering this error again:
- Keep your browser updated: Regularly update Chrome to benefit from the latest security patches and improvements in certificate handling.
- Keep your operating system updated: Outdated operating systems might have vulnerabilities affecting certificate validation.
- Keep your antivirus and firewall updated: Ensure your security software is up-to-date to prevent interference with certificate verification.
- Avoid accessing untrusted websites: Be cautious when visiting websites that use self-signed certificates or certificates from unknown Certificate Authorities. These can pose significant security risks.
- Report the issue to the website: If you suspect the website's certificate is incorrectly configured, report the issue to the website administrator so they can address it. This is the most effective long-term solution for preventing recurring errors on that specific website.
The above is the detailed content of How to fix: err_cert_common_name_invalid error in Google Chrome. For more information, please follow other related articles on the PHP Chinese website!

Microsoft PowerToys is free. This collection of tools developed by Microsoft is designed to enhance Windows system functions and improve user productivity. By installing and using features such as FancyZones, users can customize window layouts and optimize workflows.

ThebestalternativestoPowerToysforWindowsusersareAutoHotkey,WindowGrid,andWinaeroTweaker.1)AutoHotkeyoffersextensivescriptingforautomation.2)WindowGridprovidesintuitivegrid-basedwindowmanagement.3)WinaeroTweakerallowsdeepcustomizationofWindowssettings

Microsoft PowerToys does not require a license and is a free open source software. 1.PowerToys provides a variety of tools, such as FancyZones for window management, PowerRename for batch renaming, and ColorPicker for color selection. 2. Users can enable or disable these tools according to their needs to improve work efficiency.

Microsoft PowerToys is completely free. This tool set provides open source utilities that enhance Windows operating system, including features such as FancyZones, PowerRename, and KeyboardManager, to help users improve productivity and customize their operating experience.

PowerToys is not the default component of Windows 11, but a set of tools developed by Microsoft that needs to be downloaded separately. 1) It provides features such as FancyZones and Awake to improve user productivity. 2) Pay attention to possible software conflicts and performance impacts when using them. 3) It is recommended to selectively enable the tool and periodically update it to optimize performance.

The way to download Microsoft PowerToys is: 1. Open PowerShell and run wingetinstallMicrosoft.PowerToys, 2. or visit the GitHub page to download the installation package. PowerToys is a set of tools to improve Windows user productivity. It includes features such as FancyZones and PowerRename, which can be installed through winget or graphical interface.

PowerToys is a free collection of tools launched by Microsoft to enhance productivity and system control for Windows users. It provides features through standalone modules such as FancyZones management window layout and PowerRename batch renaming files, making user workflow smoother.

PowerToys needs to be run in the background to achieve its full functionality. 1) It relies on system-level hooks and event listening, such as FancyZones monitoring window movement. 2) Reasonable resource usage, usually 50-100MB of memory, and almost zero CPU usage when idle. 3) You can set up power-on and use PowerShell scripts to implement it. 4) When encountering problems, check the log files, disable specific tools, and ensure that they are updated to the latest version. 5) Optimization suggestions include disabling infrequently used tools, adjusting settings, and monitoring resource usage.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment