laravel / valet

A more enjoyable local development experience for Mac.
https://laravel.com/docs/valet
MIT License
2.52k stars 698 forks source link

Add the ability to renew the Certificate Authority certificate #1498

Open adrum opened 1 week ago

adrum commented 1 week ago

This PR adds the ability to renew the Certificate Authority certificate optionally when running the valet renew --ca command. Additionally, it adds the ability to view the CA certificate's expiration date through valet secured --ca.

This should resolve the issue highlighted in #1496. It may also resolve https://github.com/laravel/valet/issues/1487, but I don't think I was able to verify if the CA expired.

My comment here summarizes the scenario pretty well how users may experience this issue, but I would wager to guess it should be an increasingly uncommon scenario, given new CAs should have 20 years of validity.