cfssl

CloudFlare's PKI toolkit for certificate generation and management

brewmacoslinux
Try with needOr install directly
Source

About

CloudFlare's PKI toolkit

Commands

cfsslcfssljsoncfsslutil

Examples

Generate a new CA certificate and key$ cfssl gencert -initca ca.json | cfssljson -bare ca
Create a certificate signing request and sign it$ cfssl genkey server.json | cfssljson -bare server && cfssl sign -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -profile=server server.csr | cfssljson -bare server
Validate a certificate$ cfssl certinfo -cert certificate.pem