mkcert
creates locally-trusted certificates
TLDR
Install local CA
$ mkcert -install
Generate certificate$ mkcert [localhost]
Multiple domains$ mkcert [localhost] [127.0.0.1] [::1]
Wildcard certificate$ mkcert [*.local.dev]
Specify output names$ mkcert -key-file [key.pem] -cert-file [cert.pem] [localhost]
Uninstall CA$ mkcert -uninstall
SYNOPSIS
mkcert [options] [domains]
DESCRIPTION
mkcert creates locally-trusted certificates. It simplifies HTTPS for development.
The tool installs a local CA and generates trusted certificates. No browser warnings.
PARAMETERS
DOMAINS
Domain names for certificate.-install
Install local CA.-uninstall
Uninstall local CA.-key-file FILE
Key output file.-cert-file FILE
Certificate output file.--help
Display help information.
CAVEATS
Development only. Keep root CA secure. Don't share CA key.
HISTORY
mkcert was created by Filippo Valsorda to simplify local HTTPS development with trusted certificates.
