Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVC HTTPS localhost Chrome connection not secure NET::ERR_CERT_COMMON_NAME_INVALID

I have a website. It has an SSL certificate and I've had no problems until all of a sudden Chrome and Firefox won't accept my self signed certificate for localhost.

I've looked and found a lot of questions on this issue but haven't been able to fix it. Is there a step-by-step guide to fixing this?

I have followed this example https://stackoverflow.com/a/22818853/853295 but my certificate already has a Friendly Name with correct name.

Here's an image of my certificate

enter image description here

like image 531
joks Avatar asked May 03 '17 14:05

joks


1 Answers

For Chrome you can just tell it to ignore the error. chrome://flags/#allow-insecure-localhost

like image 121
Mike M Avatar answered Oct 25 '22 04:10

Mike M