How to fix Expired HTTPS Certificates with Laravel Valet (MacOs)

profile picture

How to fix Expired HTTPS Certificates with Laravel Valet (MacOs)

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
ssl
laravel
valet
https
certificates

about me

profile picture

I consider myself as an IT Business Artisan. Or Consultant CTO. I'm a self-taught Web Developper, coach and teacher. My main work is helping and guiding digital startups.

more about me

follow me

newsletter

A weekly email with the latests articles

support my work

Start trading on binance
  • BTC

    BTC

    18SY81ejLGFuJ9KMWQu5zPrDGuR5rDiauM

  • ETH

    ETH

    0x68e8c828b8ce670062a83199cd8f62667c792f23

  • Monero

    XMR

    895bSneY4eoZjsr2hN2CAALkUrMExHEV5Pbg8TJb6ejnMLN7js1gLAXQySqbSbfzjWHQpQhQpvFtojbkdZQZmM9qCFz7BXU

(adsbygoogle = window.adsbygoogle || []).push({});

2023 © My Dynamic Production SRL All rights Reserved.