Skip to content

Instantly share code, notes, and snippets.

View szczad's full-sized avatar
🔥
I wish you were here 💣

Grzegorz Szczudlik szczad

🔥
I wish you were here 💣
  • Ingenix.AI
  • Warsaw, Poland
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