homepki

Creates a root CA, intermediate CAs, and server or client TLS certificates on your workstation. One command per tier.

Free and MIT licensed. macOS and Linux. One binary, no OpenSSL needed.

Install

With Homebrew, or download a binary from the latest release.

$ brew tap bcollard/homepki
$ brew install --cask homepki

Three tiers, four commands

Each command writes its key and certificate and returns. The intermediate also gets a chain file to hand to clients as a CA bundle.

Root CAhomepki root-ca -d runlocal.dev
Intermediatehomepki intermediate-ca -d runlocal.dev -n bu1
Server leafhomepki server-cert -d runlocal.dev -i bu1 -s kong-gateway
Client leafhomepki client-cert -d runlocal.dev -i bu1 -c my-client