Laravel Valet is awesome and it automatically set your local domains up with SSL certificates, so that you can use your local domain.test with https

However, those certificates expire after some time and it's difficult to clean and or renew them.

Also with new versions of Google Chrome, you might have exceptional issues.

Here's how to fix it

Solution 1

rm ~/.config/valet/CA/*
valet install

Solution 2

By Lonnyx https://github.com/laravel/valet/issues/1300#issuecomment-1318460745

valet uninstall
rm -rf ~/.config/valet
valet install
cd {your projects directory}
valet park
valet secure yourapp