I've been using mkcert in other projects and it's a good way to have local certificates that work. Investigate and implement. https://github.com/FiloSottile/mkcert