← All tools

mkcert Gem

Make locally trusted HTTPS certificates for development in one command.

What it is

mkcert creates a local certificate authority, installs it in your system and browser trust stores, and issues certificates for localhost or any dev hostname. No more browser warnings.

Instead of

Self-signed certs and clicking through browser warnings

Reach for it when

You need HTTPS locally for cookies, OAuth callbacks, service workers or HTTP/2.

Try it in a few minutes

brew install mkcert   # or choco install mkcert
mkcert -install
mkcert localhost 127.0.0.1 myapp.test

Related