beyondcode / herd-community

77 stars 1 forks source link

[Bug]: Secured Site is "unsafe" according to browser #863

Closed Mavv3006 closed 3 weeks ago

Mavv3006 commented 1 month ago

Platform

Windows

Operating system version

Windows 11 22631.3810

System architecture

Intel (x86)

Herd Version

1.8.0

PHP Version

PHP 8.3.8 (cli) (built: Jun 4 2024 18:52:26) (NTS Visual C++ 2019 x64)

Bug description

When I secure a site with Herd and open it in a browse afterwards, I get an SEC_ERROR_UNKNOWN_ISSUER (Firefox) / NET::ERR_CERT_AUTHORITY_INVALID (Chrome) error. It seems like Firefox and Chrome do not trust the Laravel Valet certificate

grafik

Steps to reproduce

Relevant log output

No response

samtlewis commented 1 month ago

Seeing the same issue on Mac version of Herd as well. This is with sites that were previously working just fine. Not sure if it is related to the latest Herd update or not but the NET::ERR_CERT_AUTHORITY_INVALID error is identical. UPDATE: after restarting my computer and then Quitting Herd and re-opening everything seems to work. Before re-opening Herd, the wrong cert was being used. Not sure the cause but this resolved my issue

ryanmortier commented 1 month ago

Had the same issue. Reboot my Mac and all is well.

mpociot commented 3 weeks ago

I'm pretty sure that this is related to some weird Chrome related caching issues as it's not a general error with Herd / securing sites.