easy-rsa
easy-rsa copied to clipboard
Documentation: `doc/EasyRSA-Passphrase-Automation.md`
Passphrases and automation .. it is a conundrum.
However, it would be useful if EasyRSA had some documentation on how it is done here ..
Options: --passin=something and --passout=something.
FTR: https://www.openssl.org/docs/man3.0/man1/openssl-passphrase-options.html
TLDR;
Global options: --passin, --passout
Build CA: Both options MUST be set to the same passphrase.
easyrsa --passin=pass:EASYRSA --passout=pass:EASYRSA build-ca
Build-*-full: Gets more interesting ..
With build-*-full, --passin is the CA passphrase, while --passout is the new key passphrase.
With set-pass, --passin is the current key passphrase, while --passout is the new key passphrase.