mkcert
Make locally-trusted development certificates. tldr-pages
On several platforms
Several platforms
Install the local CA in the system trust store
mkcert -installIdentifyGenerate certificate and private key for a given domain
mkcert example.orgIdentifyGenerate certificate and private key for multiple domains
mkcert example.org myapp.dev 127.0.0.1IdentifyGenerate wildcard certificate and private key for a given domain and its subdomains
mkcert "*.example.it"IdentifyUninstall the local CA
mkcert -uninstallIdentify