Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Your connection is not private NET::ERR_CERT_COMMON_NAME_INVALID

Tags:

I am facing strange issue on chrome while debugging local ASP.NET application on chrome. I am not able to open localhost without https. With Https it's giving error: Your connection is not private NET::ERR_CERT_COMMON_NAME_INVALID.

It was working on chrome till last update & is working on firefox & IE. There is also no option in advanced setting to skip error & visit site.

Please help. enter image description here

like image 551
Pranav Singh Avatar asked May 19 '17 09:05

Pranav Singh


People also ask

What does NET :: ERR_CERT_COMMON_NAME_INVALID mean?

So as the error message states, the root problem behind NET::ERR_CERT_COMMON_NAME_INVALID is that the common name on your SSL certificate is not valid for some reason. Often, this means that the name on your certificate does not match the domain it's installed on.

Why does Chrome keep telling me my connection is not private?

The “your connection is not private” error message is exactly what it sounds like. It's a message from your browser that informs you that the connection is not secure. This means that if you aren't using an antivirus or encryption, your device will be a gold mine for hackers.


2 Answers

Finally banging head on desk for two days I found this setting in chrome://flags/ to Allow invalid certificates for resources loaded from localhost. finally no disable all certificate error, only for localhost. Adding answer for someone struggling with same issue.

enter image description here

like image 78
Pranav Singh Avatar answered Sep 20 '22 15:09

Pranav Singh


We have found that the best (and only) way to override Chrome is to type the phrase thisisunsafe at the Chrome generated webpage that blocks you. Just type the text directly to the page; there will be no text entry box.
We have servers on an internal network which use SSL but which are not externally signed and this is the only way to get to them.

like image 44
Hephaestus Avatar answered Sep 21 '22 15:09

Hephaestus