mkcert: locally trusted development certificates — by FiloSottile
A zero-config tool that creates a local CA, installs it in your system trust stores and issues certificates for chosen hostnames, avoiding self-signed browser warnings during development. Never share the generated rootCA-key.pem.
Quick steps
- mkcert -install
- mkcert example.com (names may include wildcards and localhost)
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: mkcert: locally trusted development certificates by FiloSottile. Licence: BSD-3-Clause.
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me