I've used this in the past and it has been very convenient! Thanks Filippo!
Having said that, nowadays I just bring up a local caddy instance and use that. Caddy can set up and use a local CA for development/testing [1]. In my case I'm using caddy on my little public-facing hobby server anyway, so it's convenient to have a similar setup in local dev. If I cared about actually getting at & directly using the certificates myself I'd probably go back to mkcert.
Having said that, nowadays I just bring up a local caddy instance and use that. Caddy can set up and use a local CA for development/testing [1]. In my case I'm using caddy on my little public-facing hobby server anyway, so it's convenient to have a similar setup in local dev. If I cared about actually getting at & directly using the certificates myself I'd probably go back to mkcert.
[1] https://caddyserver.com/docs/automatic-https#local-https