# mkcert

> A simple zero-config tool to make locally trusted development certificates with any names you'd like.

Source: https://talira.ai/catalog/mkcert-z3f3rbxz
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [networking / tls](https://talira.ai/categories/networking/tls), [developer tools / local dev](https://talira.ai/categories/developer-tools/local-dev)
- Platforms: macos, linux, windows, cli
- Licence: BSD-3-Clause
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Creator: FiloSottile

mkcert creates a local certificate authority, installs it in the system root store (and Firefox, Java and others), and generates locally trusted certificates for names like localhost, 127.0.0.1 or example.test. It removes browser trust warnings for local HTTPS without handling a CA by hand. It does not configure servers itself.

## Links

- Website: https://mkcert.dev
- GitHub: https://github.com/FiloSottile/mkcert

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/mkcert>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/mkcert>[^2]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/mkcert>[^3]

## Problems it solves

- my browser shows a scary certificate warning on my local HTTPS dev server
- need https://localhost for a feature that requires a secure context
- self-signed certificates keep getting rejected by my tools
- generate a trusted cert for a custom local domain like myapp.test
- testing service workers or OAuth locally requires HTTPS
- making my own CA with openssl commands is arcane
- trusted local certificates on Mac, Linux and Windows
- local HTTPS for a mobile device on my network

## Features

- local CA install
- system and Firefox trust stores
- any hostnames and IPs
- zero config

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.41 out of 1.
Signals: maintenance 0.06, adoption 0.96, momentum 0.84, community 0.65, backing 0.20, extensibility 0.20.

- latest release v1.4.4 4.6 years ago
- 59.9k GitHub stars
- 41 contributors
- accepts sponsorship (Custom)
- created by FiloSottile

Warnings:

- last commit 2.3 years ago

## Alternatives

- [step CLI](https://talira.ai/catalog/step-cli-80sydcp9.md): An easy-to-use CLI tool for building, operating, and automating Public Key Infrastructure (PKI) systems and workflows
- [step-ca](https://talira.ai/catalog/step-ca-bc9zt7d4.md): A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management
- [Caddy](https://talira.ai/catalog/caddy-vc8j4642.md): The Ultimate Server with Automatic HTTPS

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
