mkcert

mkcert

TLDR

Install the local CA in the system trust store

$ mkcert -install
copy

Generate certificate and private key for a given domain

$ mkcert [example.org]
copy

Generate certificate and private key for multiple domains

$ mkcert [example.org] [myapp.dev] [127.0.0.1]
copy

Generate wildcard certificate and private key for a given domain and its subdomains

$ mkcert "[*.example.it]"
copy

Uninstall the local CA

$ mkcert -uninstall
copy

Copied to clipboard
sandbox