mkcert

CLI

Make locally trusted development certificates with any names.

Create trusted TLS certificates for local development instantly

3 curated recipes · not yet executed by the harness#tls#ssl#certificates#local

Recipes

Curated from documentation and usage. Percentages are estimates, not measurements.

Install the local CA

~99% est.
mkcert -install

Generate cert for localhost

~99% est.
mkcert localhost 127.0.0.1 ::1

Generate cert for custom domain

~97% est.
mkcert myapp.local '*.myapp.local'

Install

Homebrewbrew install mkcert

Agent notes

When to use
Setting up HTTPS for local dev without browser certificate warnings
Quick examples
  • mkcert -install
  • mkcert 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.

Homepage ↗BSD-3-Clause0 views