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.
With Homebrew, or download a binary from the latest release.
$ brew tap bcollard/homepki
$ brew install --cask homepki
Each command writes its key and certificate and returns. The intermediate also gets a chain file to hand to clients as a CA bundle.
homepki root-ca -d runlocal.devhomepki intermediate-ca -d runlocal.dev -n bu1homepki server-cert -d runlocal.dev -i bu1 -s kong-gatewayhomepki client-cert -d runlocal.dev -i bu1 -c my-clientEvery list checks the chain, the key usage and revocation, with JSON output for scripts.
Installs the root into the macOS or Linux system store, Firefox profiles and the JDK.
Limit a root to your own domains. Leaves outside them are refused at issue time.
Revoke a leaf and get CRL files for nginx and OpenSSL.
Separate EKUs for mTLS, SANs, RSA, ECDSA or Ed25519 keys, custom validity, PKCS#12.
Ships a skill so AI coding tools issue certificates with homepki instead of raw OpenSSL.