Looking to upgrade a system from EasyRsa 2 to EasyRsa 3. In testing with ./easyrsa, it seems to REQUIRE hitting the Enter key at the very least.
I tried searching but so far haven't found a way to do a pure CLI entry which will create a cert/client without having to hit enter. For scripting purposes, we set up the old with a variety of the pkitool command to not require input.
Is that possible here?
Create certs without keyboard input
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Feb 24, 2021 6:05 pm
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Feb 24, 2021 6:05 pm
Re: Create certs without keyboard input
Also, if there is no way to automate use of easyrsa 3, is there any practical reason that 2 should not be run?
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Create certs without keyboard input
Option --batch
You will also need to upgrade your version 2 PKI to version 3:
You may also like to try:
https://github.com/TinCanTech/easy-tls
Which comes with fully inter-active menus, so you don't need to read so much.
Testing and feedback welcome
You will also need to upgrade your version 2 PKI to version 3:
Code: Select all
./easyrsa upgrade pki|ca
https://github.com/TinCanTech/easy-tls
Which comes with fully inter-active menus, so you don't need to read so much.
Testing and feedback welcome