mkcert

mkcert is a utility to create a local Certificate Authority.

Installation

Install mkcert using your preferred mechanism.

You can install mkcert using Homebrew:

brew install mkcert
brew install nss # if you use Firefox

Setup

Run mkcert install to set up the CA.

mkcert -install

This should install all the required files. You can see the Certificate Authority files by running

find $(mkcert -CAROOT)