Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP: your connection is not private NET::ERR_CERT_AUTHORITY_INVALID

I'm working in a virtual server on my 64bits windows 7 machine, and a few weeks this error start to appear on google chrome:

XAMPP: your connection is not private NET::ERR_CERT_AUTHORITY_INVALID

I've migrated to Opera to continue developing on my virtualhost, but today this error started to appear on Opera too.

i've searched on web and only answer i've had is: Browsers are not accepting auto assigned certify anymore...

Anyone know how to bypass this validation on xampp virtualserver?

like image 204
Alvaro Alves Avatar asked Jan 24 '18 17:01

Alvaro Alves


2 Answers

Just an update. In Chrome and Vivaldi insert chrome://flags/#allow-insecure-localhost into the address bar and then enable "Allow invalid certificates for resources loaded from localhost." Even changing the domain from example.dev to example.test didn't work until I changed the above setting in the browser.

like image 198
Lee Avatar answered Oct 16 '22 20:10

Lee


I could fix a similiar issue by using a different host name. I used "website.dev" an got these error in Chrome 63 on Windows7. After changing the C:\Windows\System32\drivers\etc\hosts to "website.test" and the "httpd-vhosts.conf" accordingly, it works.

like image 6
R.Schied Avatar answered Oct 16 '22 18:10

R.Schied