-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NET::ERR_CERT_AUTHORITY_INVALID #1487
Comments
It happens in Safari and Chrome |
@rabol Can you run the following commands and let me know the output?
Be sure to replace |
Fix will be included in tomorrow's release. Thanks everyone! |
Sorry, the new version did not solve the issue for me
Command so I do not get prompted for passwords. I tried to turn it off, then I get prompted for passwrd, but the result is the same. here is the output of the 5 command that @adrum asked for
|
@adrum ^ |
Hey @balu-lt -- Your issue is a separate issue, which means your cert expired. You should be able run Note: I also found out the hard way Valet certs expire and wanted to add visibility to this via #1461, which introduces the ![]() |
Hey @rabol After upgrading to Valet 4.7.1, did you try running The Just for good measure, can you run the following commands?
Additionally, you should see this in the Keychain Access app. ![]() Please post the output after running these commands. You should see something like the following:
If it still isn't working, I suggest rebooting your machine to ensure a rouge NGINX process isn't around with old certs being served. |
@adrum I think I have done all combinations of secure/unsecure, renew :) and I would like to point out - one more time - that I am not prompted for password, after running the valet trust command. Right now i have done:
reboot machine then:
same error reboot machine if I open the site in firefox I get another error
output of commands:
What I have noticed that in your screenshot of the keychain, the certificate is in the 'login' section, mine is in the system section I have not tried to do valet uninstall and the remove the certificate files and remove the certificate from keychain |
Hey @rabol, Thank you for sending that back. My certificate is actually in the System, too. It's indicated in the last column in the table. It appears searching the Login keychain will also pull in matching System items. Can you try this next?
You should be prompted in the GUI on step 3. |
Eureka!! Now it works - thanks a lot. |
Glad this was solved, thanks all 👍 |
I ran into the same issue, solved it by uninstalling all the certificates, renaming the CA folder and renewing all:
|
Description
I have just installed the latest version of Valet
I then did a
Valet install
and now I get this error on all .test sitesNET::ERR_CERT_AUTHORITY_INVALID
Steps To Reproduce
install v 4.7.0
do a valet install
It will then renew all certificates
Diagnosis
sw_vers
valet --version
cat ~/.config/valet/config.json
cat ~/.composer/composer.json
composer global diagnose
composer global outdated
ls -al /etc/sudoers.d/
brew config
brew services list
brew list --formula --versions | grep -E "(php|nginx|dnsmasq|mariadb|mysql|mailhog|openssl)(@\d\..*)?\s"
brew outdated
brew tap
php -v
which -a php
php --ini
nginx -v
curl --version
php --ri curl
/opt/homebrew/bin/ngrok version
ls -al ~/.ngrok2
brew info nginx
brew info php
brew info openssl
openssl version -a
openssl ciphers
sudo nginx -t
which -a php-fpm
/opt/homebrew/opt/php/sbin/php-fpm -v
sudo /opt/homebrew/opt/php/sbin/php-fpm -y /opt/homebrew/etc/php/8.3/php-fpm.conf --test
ls -al ~/Library/LaunchAgents | grep homebrew
ls -al /Library/LaunchAgents | grep homebrew
ls -al /Library/LaunchDaemons | grep homebrew
ls -al /Library/LaunchDaemons | grep "com.laravel.valet."
ls -aln /etc/resolv.conf
cat /etc/resolv.conf
ifconfig lo0
sh -c 'echo "------\n/opt/homebrew/etc/nginx/valet/valet.conf\n---\n"; cat /opt/homebrew/etc/nginx/valet/valet.conf | grep -n "# valet loopback"; echo "\n------\n"'
sh -c 'for file in ~/.config/valet/dnsmasq.d/*; do echo "------\n~/.config/valet/dnsmasq.d/$(basename $file)\n---\n"; cat $file; echo "\n------\n"; done'
sh -c 'for file in ~/.config/valet/nginx/*; do echo "------\n~/.config/valet/nginx/$(basename $file)\n---\n"; cat $file | grep -n "# valet loopback"; echo "\n------\n"; done'
The text was updated successfully, but these errors were encountered: