Description
mkcert is a command line tool that makes locally trusted development certificates for HTTPS. On a Mac, running mkcert -install once creates a local certificate authority and adds its root to the macOS system trust store, so Safari and Chrome accept the certificates it generates for localhost, 127.0.0.1 or custom names. Firefox support needs the nss package, which you can add with Homebrew. You can create wildcard certificates or put several names into one certificate. The site says it installs through Homebrew or MacPorts, or from a pre-built binary on the GitHub releases page, and that it runs natively on Apple Silicon and Intel Macs. The full source is on GitHub under a BSD license. The CA key stays on your machine, and you should keep it private because it can sign certificates your Mac trusts.…
Highlights
- Trusted HTTPS certificates for localhost
- One-time setup with mkcert -install
- Wildcard and multi-name certificates
- Works with Safari and Chrome, and Firefox with nss
- Installs with Homebrew or MacPorts
Ratings & Reviews
No ratings yet
Be the first to rate mkcert.
People also visit
MCP Remote Macos Use
The only general AI agent that does NOT requires extra API key, giving you…
mkcert FAQ
How do I install mkcert on Mac?
The simplest way is Homebrew. Run brew install mkcert, and if you use Firefox, also run brew install nss. MacPorts and the GitHub release binaries also work.
Is mkcert safe?
It is open source under a BSD 3-Clause license, so the code can be audited. It only issues certificates from a local certificate authority on your machine, and the rootCA-key.pem file should stay private.
How does my Mac start trusting certificates?
Run mkcert -install once. It adds the local CA root to the macOS system trust store in Keychain Access, and certificates you generate after that are trusted automatically.
Does it work with Firefox?
Yes, once the nss package is installed, Firefox trusts the certificates as well.
Does it cost anything?
No. The site describes mkcert as free and open source.
What are the best mkcert alternatives?
Popular alternatives to mkcert include Web, MCP Remote Macos Use and Factory Floor. See all mkcert alternatives




