mkcert
CLIMake locally trusted development certificates with any names.
Create trusted TLS certificates for local development instantly
Recipes
Curated from documentation and usage. Percentages are estimates, not measurements.
Install the local CA
mkcert -installGenerate cert for localhost
mkcert localhost 127.0.0.1 ::1Generate cert for custom domain
mkcert myapp.local '*.myapp.local'Install
Homebrew
brew install mkcertAgent notes
- When to use
- Setting up HTTPS for local dev without browser certificate warnings
- Quick examples
mkcert -installmkcert localhost 127.0.0.1
Use from an agent
curl -s https://clihub.com/api/tools/mkcert | jq '.agentHints.provenRecipes[] | {task, command, verified}'Or call get_tool with slug mkcert on the MCP server at https://clihub.com/mcp.