-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi,
------- Original Message ------- On Monday, March 6th, 2023 at 20:42, Bo Berglund <bo.bergl...@gmail.com> wrote: <snip> > Question: > --------- > I will call easy-rsa from within my script and I want to enter the password > as a > variable in the script and pass it to easy-rsa when it is called to create the > client files. > How can I bypass the user input and write the password from my own script into > easy-rsa? > A command line argument would really be perfect! > Command line options for automated passwords are documented under 'help options'. Basic notes: - https://github.com/OpenVPN/easy-rsa/issues/838 EasyRSA uses --passin/--passout to pass values to OpenSSL -passin/-passout. Those values are dictated by OpenSSL expected syntax. See: - https://www.openssl.org/docs/man1.1.1/man1/openssl.html (The very last section on that page) Everybody wants automated passwords because moar security must be better.. R -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAnBQJkBl1uCRBPl5z2a5C4nRYhBAm8PURno41yecVVVU+XnPZr kLidAAAkbgf7ButJHJE2ZDFQrOKp4pQJmGdYDaIdVFDrTXTKYwZgmitYbK9b RcAljCwJwNuQ0a6sBzWRNHp8oBJjMr5gqsBbo/klVmWFMViscVk+bqwgUgaN hT/F81fO8praWbYDqAdmzDJAqAS36/HgntBVWitcqfdohV6SZvVAUW5YcABV LpGl6ggDJDplhCNC1jYd6iXDZK+7Ys6C/M47nbEvgW/St4oJVGu6SHVj+ZDf OR495WTGkT9PQNxwX77Ky0/GAWXCeb9hTD9LzsdCnuGlTnj6zUAOQezX563K foNGeWwicrbSvyHcptoA9qGOYXIjmBAQpoAB7HdEt9k+lzx9dRPubQ== =G++R -----END PGP SIGNATURE-----
publickey - tincantech@protonmail.com - 0x09BC3D44.asc
Description: application/pgp-keys
publickey - tincantech@protonmail.com - 0x09BC3D44.asc.sig
Description: PGP signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users