Hi All:
Hoping to get an overview of how to pipe passwords in for "./easyrsa
set-rsa-pass" in a bash script for openvpn.
I am using Easy-RSA 3 (windows 10, OpenSSL 1.1.1j 16 Feb 2021). I think
something in this version has changed when using "./easyrsa set-rsa-pass" and
piping in the pw from a file.
It appears maybe that I need to set an env for:
- EASYRSA_PASSIN (CLI: --passin) - allows to specify a source for password
using any openssl password options like pass:1234 or env:var
- EASYRSA_PASSOUT (CLI: --passout) - allows to specify a source for password
using any openssl password options like pass:1234 or env:var
But whether I do or not in the terminal, when I try something like "./easyrsa
set-rsa-pass servername --passout filename" I get
Ignoring unknown command option: '--passout'
Ignoring unknown command option: 'passfile'
Am guessing this is a problem with my syntax or how I'm setting env variables
or maybe this command references setting env variables in a file?
Thx
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users