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

    0x519e0eaa9bc83018bb306880548b79fc0794cd08

  • Monero

    XMR

    895bSneY4eoZjsr2hN2CAALkUrMExHEV5Pbg8TJb6ejnMLN7js1gLAXQySqbSbfzjWHQpQhQpvFtojbkdZQZmM9qCFz7BXU

recent posts

QBUS - MQTT Quick Tutorial

1
11 months ago

DDOS By Web Crawlers

1
1 year ago

Something Given

1
1 year ago

2024 © My Dynamic Production SRL All rights Reserved.