Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: doc/EasyRSA-Passphrase-Automation.md #838

Open
TinCanTech opened this issue Jan 4, 2023 · 3 comments
Open

Documentation: doc/EasyRSA-Passphrase-Automation.md #838

TinCanTech opened this issue Jan 4, 2023 · 3 comments

Comments

@TinCanTech
Copy link
Collaborator

TinCanTech commented Jan 4, 2023

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

@TinCanTech TinCanTech changed the title Documentation: doc/EasyRSA-Passphrase-/usage.md Documentation: doc/EasyRSA-Passphrase-Automation.md Jan 4, 2023
@TinCanTech
Copy link
Collaborator Author

TinCanTech commented Jan 4, 2023

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 ..

@TinCanTech
Copy link
Collaborator Author

With build-*-full, --passin is the CA passphrase, while --passout is the new key passphrase.

@TinCanTech
Copy link
Collaborator Author

With set-pass, --passin is the current key passphrase, while --passout is the new key passphrase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant