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

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

    bc1qgw9a8hyqqwvcls9ln7vhql4mad0qkveutr2td7

  • ETH

    ETH

    0x3A720717Da03dB6f3c4a4Ff08BC64100205A79d0

recent posts

DDOS By Web Crawlers

1
1 year ago

Something Given

1
1 year ago

2025 © My Dynamic Production SRL All rights Reserved.