在谷歌浏览器(Google Chrome)中浏览互联网时,如果您突然遇到错误消息“ ERR_CERT_COMMON_NAME_INVALID ”,那么您可以确定该错误是由于SSL(安全套接字层)问题(SSL (Secure Sockets Layer) issue)引起的。当您尝试访问使用HTTPS的网站时,浏览器会使用(HTTPS)SSL证书验证其身份。现在,当证书与网站的URL(URL)不匹配时,您将面临“您的连接不是私有(Your connection is not private)的”错误。
ERR_CERT_COMMON_NAME_INVALID或 Server's certificate does not match 用户尝试访问网站URL时出现错误,但是SSL证书中的网站URL不同。(URL)例如,用户尝试访问 www.google.com,但SSL证书适用于 google.com,则 chrome 将显示服务器的证书与 URL 不匹配或 ERR_CERT_COMMON_NAME_INVALID 错误。(Server’s certificate does not match the URL or ERR_CERT_COMMON_NAME_INVALID error.)
有多种可能的原因会导致此问题,例如日期和时间错误、hosts 文件可能重定向网站、DNS配置错误、防火墙(Antivurs)问题、恶意软件或病毒、第 3 方扩展等。所以不要浪费任何时间让我们看看如何在 Chrome 中修复 ERR_CERT_COMMON_NAME_INVALID。(Fix ERR_CERT_COMMON_NAME_INVALID in Chrome.)
(Fix ERR_CERT_COMMON_NAME_INVALID)修复Chrome(Chrome)中的ERR_CERT_COMMON_NAME_INVALID
确保 创建一个还原点(create a restore point) 以防万一出现问题。
Method 1: Flush DNS and reset TCP/IP
1.右键单击Windows按钮(Windows Button)并选择“命令提示符(管理员)。(Command Prompt(Admin).)“
2.现在键入以下命令并在每个命令后按Enter :
ipconfig /release
ipconfig /flushdns
ipconfig /renew
3.再次打开管理命令提示符(Admin Command Prompt)并键入以下内容并在每个之后按回车键:
ipconfig /flushdns
nbtstat –r
netsh int ip reset
netsh winsock reset
4.重新启动以应用更改。刷新DNS(DNS)似乎 修复了 Chrome 中的ERR_CERT_COMMON_NAME_INVALID 。(Fix ERR_CERT_COMMON_NAME_INVALID in Chrome.)
方法 2:确保日期和时间正确(Method 2: Make sure the date and time is correct)
有时您的系统日期和时间设置可能会导致此问题。因此,您需要修复系统日期和时间,因为有时它会自动更改。
1.右键单击屏幕右下角的时钟图标,然后选择(clock icon)Adjust date/time.
2.如果您发现日期和时间设置未正确配置,您需要关闭( turn off the toggle)“自动设置时间(Set Time Automatically)”的开关,然后单击更改( Change)按钮。
3.在更改日期和时间(Change date and time )中进行必要的更改,然后单击更改。(Change.)
4.看看这是否有帮助,如果没有,请关闭“自动设置时区”的切换。(Set time zone automatically.)“
5.从时区(Time zone)下拉菜单中,手动设置您的时区。(set your time zone manually.)
6.重新启动您的电脑以保存更改。
或者,如果您愿意,您还可以使用控制面板更改 PC 的日期和时间。(change the date & time of your PC)
方法 3:执行防病毒扫描(Method 3: Perform Antivirus Scan)
您应该使用防病毒(Anti-virus)软件扫描您的系统,并立即清除任何不需要的恶意软件或病毒(get rid of any unwanted malware or virus immediately)。如果您没有任何第三方防病毒(Antivirus)软件,请不要担心,您可以使用名为Windows Defender的(Windows Defender)Windows 10内置恶意软件扫描工具。
1.打开Defender 防火墙设置(Defender Firewall Settings),然后单击打开 Windows Defender 安全中心。(Open Windows Defender Security Center.)
2.单击病毒和威胁部分。(Virus and Threat Section.)
3.选择高级部分(Advanced Section)并突出显示Windows Defender 脱机(Windows Defender Offline)扫描。
4.最后,点击立即扫描。( Scan now.)
5.扫描完成后,如果发现任何恶意软件或病毒,Windows Defender将自动删除它们。'
6.最后,重启你的电脑,看看你是否能够在 Chrome 中解决问题,如果不能,则继续。( resolve the issue in Chrome, if not then continue.)
运行 CCleaner 和 Malwarebytes(Run CCleaner and Malwarebytes)
1.下载并安装 CCleaner & Malwarebytes。
2.运行 Malwarebytes(Run Malwarebytes)(Run Malwarebytes) 并让它扫描您的系统以查找有害文件。
3.如果发现恶意软件,它将自动删除它们。
4.现在运行 CCleaner ,在“Cleaner”部分的“ Windows ”选项卡下,我们建议检查以下要清理的选项:
5.一旦您确定检查了正确的点,只需单击 Run Cleaner, 然后让 CCleaner 运行。
6.要清理您的系统,请进一步选择注册表(Registry)选项卡并确保选中以下内容:
7.选择Scan for Issue并允许CCleaner扫描,然后单击 Fix Selected Issues。
8.当CCleaner 询问“您要备份对注册表的更改吗?(Do you want backup changes to the registry?)” 选择是。
9.备份完成后,选择Fix All Selected Issues。
10.重新启动您的 PC 以保存更改,这将 在 Chrome 中修复 ERR_CERT_COMMON_NAME_INVALID(Fix ERR_CERT_COMMON_NAME_INVALID in Chrome),如果没有,则继续下一个方法。
方法 4:使用谷歌公共 DNS(Method 4: Use Google Public DNS)
有时我们的WiFi网络使用的默认(WiFi)DNS服务器可能会导致Chrome中的错误,或者有时默认DNS不可靠,在这种情况下,您可以轻松更改 Windows 10 上的 DNS 服务器(change DNS servers on Windows 10)。建议使用Google Public DNS,因为它们可靠并且可以解决您计算机上与DNS相关的任何问题。(DNS)
方法 5:编辑 Hosts 文件(Method 5: Edit Hosts file)
'hosts' 文件是一个纯文本文件,它将主机名(hostnames)映射到IP 地址(IP addresses)。主机文件有助于寻址计算机网络中的网络节点。如果您尝试访问但由于Chrome 中的 ERR_CERT_COMMON_NAME_INVALID( ERR_CERT_COMMON_NAME_INVALID in Chrome)而无法访问的网站已添加到 hosts 文件中,则您需要删除特定网站并保存 hosts 文件以解决问题。编辑 hosts 文件并不简单,因此建议您阅读本指南(go through this guide)。
1.转到以下位置:C:\Windows\System32\drivers\etc
2.用记事本打开hosts文件。
3.删除与您无法访问的网站(website)相关的任何条目。(Remove any entry)
4.保存hosts文件,您就可以在Chrome中访问该网站了。
方法 6:删除不必要的 Chrome 扩展(Method 6: Remove unnecessary Chrome extensions)
扩展是Chrome中一个非常有用的功能,可以扩展其功能,但您应该知道,这些扩展在后台运行时会占用系统资源。如果您有太多不必要或不需要的扩展程序,那么它将使您的浏览器陷入困境,并会在Chrome中产生诸如ERR_CERT_COMMON_NAME_INVALID 之(ERR_CERT_COMMON_NAME_INVALID)类的问题。
1.右键单击(Right-click on the icon of the extension)要删除的扩展程序的图标。(remove.)
2.从出现的菜单中单击“从 Chrome 中删除”选项。(Remove from Chrome)
执行上述步骤后,选定的扩展将从Chrome中删除。
如果您要删除的扩展程序的图标在Chrome地址栏中不可用,那么您需要在已安装的扩展程序列表中查找该扩展程序:
1.点击Chrome右上角的三点图标(three dots icon)。
2.从打开的菜单中单击更多工具选项。( More Tools)
3.在更多工具下,单击扩展。(Extensions.)
4.现在它将打开一个页面,显示您当前安装的所有扩展。( show all your currently installed extensions.)
5.现在通过关闭 ( turning off the toggle )与每个扩展关联的切换来禁用所有不需要的扩展。
6.接下来,通过单击“删除”按钮(Remove button.)删除那些未使用的扩展。
9.对要删除或禁用的所有扩展执行相同的步骤。
查看是否禁用任何特定扩展程序可以解决问题,那么这个扩展程序是罪魁祸首,应该从Chrome的扩展程序列表中删除。您应该尝试禁用您拥有的任何工具栏或广告拦截工具,因为在许多情况下,这些是导致Chrome 中出现 ERR_CERT_COMMON_NAME_INVALID 的主要原因。(ERR_CERT_COMMON_NAME_INVALID in Chrome.)
方法七:在杀毒软件中关闭 SSL 或 HTTPS 扫描(Method 7: Turning off SSL or HTTPS scanning in Antivirus software)
有时防病毒软件具有称为HTTPS保护或扫描的功能,它不允许Google Chrome提供默认安全性,这反过来又会导致此错误。
要解决此问题,请尝试关闭您的防病毒软件( turning off your antivirus software)。如果关闭软件后网页可以正常工作,请在使用安全站点时关闭该软件。完成后请记住(Remember)重新打开防病毒程序。如果您想要永久修复,请尝试 禁用 HTTPS 扫描。( disable HTTPS scanning.)
1.在 比特卫士(Bit defender)杀毒软件中,打开设置。
2.现在从那里,单击隐私控制(Privacy Control),然后转到反网络钓鱼(Anti-phishing)选项卡。
3.在反网络钓鱼选项卡中, 关闭扫描 SSL。(turn OFF the Scan SSL.)
4.重新启动您的计算机,这可能会帮助您成功修复 Chrome 中的 ERR_CERT_COMMON_NAME_INVALID。( Fix ERR_CERT_COMMON_NAME_INVALID in Chrome.)
方法 8:临时禁用防火墙和(Method 8: Temporary Disable Firewall & )杀毒软件(Antivirus)
有时您的第三方安装的防病毒软件(Antivirus)或防火墙(Firewall)可能会导致ERR_CERT_COMMON_NAME_INVALID。为确保它不会导致问题,您需要暂时禁用已安装的防病毒软件(Antivirus)并关闭防火墙(Turn off your firewall)。现在检查问题是否已解决。许多用户报告说禁用他们系统上的防火墙(Firewall)解决了这个问题,如果没有,那么也尝试禁用系统上的防病毒(Antivirus)程序。
1.右键单击系统托盘中的防病毒程序图标( Antivirus Program icon),然后选择禁用。(Disable.)
2.接下来,选择防病毒软件将保持禁用的时间范围。( Antivirus will remain disabled.)
注意:选择尽可能少的时间,例如 15 分钟或 30 分钟。
3.完成后,再次检查错误是否解决。
方法9:忽略错误并继续访问网站(Method 9: Ignoring the error and proceed to the website)
最后的手段是继续访问该网站,但只有在您确定您尝试访问的网站是安全的情况下才这样做。
1.在Chrome中转到给出错误的网站。
2.要继续,首先单击“高级(Advanced)”链接。
3.之后选择“ Proceed to www.google.com (unsafe) ”。
4.这种方式可以访问网站,但不推荐这种方式,( way is not recommended) 因为这种连接不安全。
受到推崇的:(Recommended:)
我希望上述步骤能够帮助您修复 Chrome 中的 ERR_CERT_COMMON_NAME_INVALID,(Fix ERR_CERT_COMMON_NAME_INVALID in Chrome)但如果您对本指南仍有任何疑问,请随时在评论部分询问。
Fix ERR_CERT_COMMON_NAME_INVALID in Chrome
While browsing the internet in Google Chrome if you’re suddenly faced with the error message “ERR_CERT_COMMON_NAME_INVALID” then you can be sure that the error is caused because of SSL (Secure Sockets Layer) issue. When you try to visit a website that uses HTTPS, the browser verifies its identity with an SSL certificate. Now when the certificate does not match with the URL of the website you will face the “Your connection is not private” error.
ERR_CERT_COMMON_NAME_INVALID or Server’s certificate does not match error occurs when the user tries to access the website URL, however, the website URL in the SSL certificate is different. For example, the user tries to access www.google.com but the SSL certificate is for google.com then the chrome will show the Server’s certificate does not match the URL or ERR_CERT_COMMON_NAME_INVALID error.
There are various possible reasons which can cause this issue such as incorrect date & time, hosts file might redirect the website, incorrect DNS configuration, Antivurs of firewall issue, malware or virus, 3rd party extensions, etc. So without wasting any time let’s see How to Fix ERR_CERT_COMMON_NAME_INVALID in Chrome.
Fix ERR_CERT_COMMON_NAME_INVALID in Chrome
Make sure to create a restore point just in case something goes wrong.
Method 1: Flush DNS and reset TCP/IP
1.Right-click on Windows Button and select “Command Prompt(Admin).“
2.Now type the following command and press Enter after each one:
ipconfig /release
ipconfig /flushdns
ipconfig /renew
3.Again open Admin Command Prompt and type the following and hit enter after each one:
ipconfig /flushdns
nbtstat –r
netsh int ip reset
netsh winsock reset
4.Reboot to apply changes. Flushing DNS seems to Fix ERR_CERT_COMMON_NAME_INVALID in Chrome.
Method 2: Make sure the date and time is correct
Sometimes your system date & time settings can cause this problem. Therefore, you need to fix your system date & time because sometimes it automatically changes.
1.Righ-click on the clock icon placed on the bottom-right corner of the screen and select Adjust date/time.
2.If you find date & time settings are not correctly configured, you need to turn off the toggle for “Set Time Automatically” thereafter click on the Change button.
3.Make the necessary changes in the Change date and time then click Change.
4.See if this helps, if not then turn off the toggle for “Set time zone automatically.“
5.And from the Time zone drop-down, set your time zone manually.
6.Restart your PC to save changes.
Alternatively, if you want you could also change the date & time of your PC using Control Panel.
Method 3: Perform Antivirus Scan
You should scan your system with Anti-virus software and get rid of any unwanted malware or virus immediately. If you don’t have any third-party Antivirus software then don’t worry you can use the Windows 10 in-built malware scanning tool called Windows Defender.
1.Open Defender Firewall Settings and click on Open Windows Defender Security Center.
2.Click on Virus and Threat Section.
3.Select the Advanced Section and highlight the Windows Defender Offline scan.
4.Finally, click on Scan now.
5.After the scan is completed, if any malware or viruses are found, then the Windows Defender will automatically remove them. ‘
6.Finally, reboot your PC and see if you’re able to resolve the issue in Chrome, if not then continue.
Run CCleaner and Malwarebytes
1.Download and install CCleaner & Malwarebytes.
2.Run Malwarebytes and let it scan your system for harmful files.
3.If malware is found it will automatically remove them.
4.Now run CCleaner and in the “Cleaner” section, under the Windows tab, we suggest checking the following selections to be cleaned:
5.Once you’ve made certain the proper points are checked, simply click Run Cleaner, and let CCleaner run its course.
6.To clean your system further select the Registry tab and ensure the following are checked:
7.Select Scan for Issue and allow CCleaner to scan, then click Fix Selected Issues.
8.When CCleaner asks “Do you want backup changes to the registry?” select Yes.
9.Once your backup has completed, select Fix All Selected Issues.
10.Restart your PC to save changes and this would Fix ERR_CERT_COMMON_NAME_INVALID in Chrome, if not then continue with the next method.
Method 4: Use Google Public DNS
Sometimes the default DNS server which our WiFi network uses can cause the error in Chrome or sometimes the default DNS isn’t reliable, in such cases, you can easily change DNS servers on Windows 10. It is recommended to use Google Public DNS as they are reliable and can fix any issues related to DNS on your computer.
Method 5: Edit Hosts file
A ‘hosts’ file is a plain text file, which maps hostnames to IP addresses. A host file helps in addressing network nodes in a computer network. If the website which you are trying to visit but unable to due to the ERR_CERT_COMMON_NAME_INVALID in Chrome is added in the hosts file then you to remove the particular website and save the hosts file to fix the issue. Editing the hosts file is not simple, and therefore it is advised that you go through this guide.
1.Go to the following location: C:\Windows\System32\drivers\etc
2.Open hosts file with notepad.
3.Remove any entry which is related to the website you are not able to access.
4.Save the hosts file and you may be able to visit the website in Chrome.
Method 6: Remove unnecessary Chrome extensions
Extensions are a very useful feature in Chrome to extend its functionality but you should know that these extensions take up system resources while they run in the background. If you have too many unnecessary or unwanted extensions then it will bog down your browser and will create issues such as ERR_CERT_COMMON_NAME_INVALID in Chrome.
1.Right-click on the icon of the extension you want to remove.
2.Click on the “Remove from Chrome” option from the menu that appears.
After performing the above steps, the selected extension will be removed from Chrome.
If the icon of the extension you want to remove is not available in the Chrome address bar, then you need to look for the extension among the list of installed extensions:
1.Click on three dots icon available at the top right corner of Chrome.
2.Click on More Tools option from the menu that opens up.
3.Under More tools, click on Extensions.
4.Now it will open a page that will show all your currently installed extensions.
5.Now disable all the unwanted extensions by turning off the toggle associated with each extension.
6.Next, delete those extensions which are not in use by clicking on the Remove button.
9.Perform the same step for all the extensions you want to remove or disable.
See if disabling any particular extension fixes the issue, then this extension is the culprit and should be removed from the list of extensions in Chrome. You should try to disable any toolbars or ad-blocking tools you have, as in many cases these are the main culprit in causing the ERR_CERT_COMMON_NAME_INVALID in Chrome.
Method 7: Turning off SSL or HTTPS scanning in Antivirus software
Sometimes antivirus has a feature called HTTPS protection or scanning which doesn’t let Google Chrome provide default security which in turn causes this error.
To fix the problem, try turning off your antivirus software. If the webpage works after turning off the software, turn off this software when you use secure sites. Remember to turn your antivirus program back on when you’re done. If you want a permanent fix then try to disable HTTPS scanning.
1.In Bit defender antivirus software, open settings.
2.Now from there, click on Privacy Control and then go to the Anti-phishing tab.
3.In Anti-phishing tab, turn OFF the Scan SSL.
4.Restart your computer and this may help you successfully Fix ERR_CERT_COMMON_NAME_INVALID in Chrome.
Method 8: Temporary Disable Firewall & Antivirus
Sometimes your third-party-installed Antivirus or Firewall can cause the ERR_CERT_COMMON_NAME_INVALID. To ensure that it is not causing the problem, you need to temporarily disable the installed Antivirus and Turn off your firewall. Now check if the problem is solved or not. Many users reported that disabling the Firewall on their system solved this problem, if not then also try to disable the Antivirus program on your system.
1.Right-click on the Antivirus Program icon from the system tray and select Disable.
2.Next, select the time frame for which the Antivirus will remain disabled.
Note: Choose the smallest amount of time possible for example 15 minutes or 30 minutes.
3.Once done, again check if the error resolves or not.
Method 9: Ignoring the error and proceed to the website
The last resort is proceeding to the website but only do this if you are sure that the website you are attempting to visit is secured.
1.In Chrome go the website that is giving the error.
2.To proceed, firstly click on the “Advanced” link.
3.After that select “Proceed to www.google.com (unsafe)“.
4.In this way, you will be able to visit the website but this way is not recommended as this connection will not be secure.
Recommended:
I hope the above steps were able to help you Fix ERR_CERT_COMMON_NAME_INVALID in Chrome but if you still have any queries regarding this guide then feel free to ask them in the comment’s section.