How to fix local certificate issues?

One great option via brew

https://github.com/FiloSottile/mkcert