Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

laravel Your connection is not private error in chrome

Tags:

gmail

laravel

I am using laravel 5.4 and I updated the .env file to be as follows:

  MAIL_DRIVER=smtp
  MAIL_HOST=smtp.gmail.com
  MAIL_PORT=587
  MAIL_USERNAME=my gmail
  MAIL_PASSWORD=my password
  MAIL_ENCRYPTION=tls

when I tried to test that I got the following message

Attackers might be trying to steal your information from test.dev (for example, passwords, messages, or credit cards). Learn more NET::ERR_CERT_AUTHORITY_INVALID

so I tried to return everything to the default but I still got the same message .. where is the problem?

like image 467
Omneya el-meligy Avatar asked Dec 14 '17 13:12

Omneya el-meligy


1 Answers

It is because your chrome version is 63. Now it is a force to use https.

If you using Valet. You may change your domain to other e.g. .test

The command is valet domain test

All your .dev domain will be replaced to .test

More info:-

https://laravel-news.com/chrome-63-now-forces-dev-domains-https

like image 150
Shiro Avatar answered Sep 19 '22 12:09

Shiro