Skip to content

Instantly share code, notes, and snippets.

View hansenpansen's full-sized avatar

Hannes Just hansenpansen

View GitHub Profile
@QueuingKoala
QueuingKoala / setup.sh
Last active March 5, 2024 12:15
Sub-CA example
# Assumptions: easyrsa3 available in current dir, and functional openssl.
# This basic example puts the "offline" and "sub" PKI dirs on the same system.
# A real-world setup would use different systems and transport the public components.
# Build root CA:
EASYRSA_PKI=offline ./easyrsa init-pki
EASYRSA_PKI=offline ./easyrsa build-ca nopass
# Build sub-CA request:
EASYRSA_PKI=sub ./easyrsa init-pki