Install 2.3.6 in a Win7 environment - need instructions
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Mar 19, 2015 11:17 pm
Install 2.3.6 in a Win7 environment - need instructions
I am trying to follow these instructions: http://openvpn.net/index.php/open-sourc ... ml#install . But when the instructions on setting up "Generate the master Certificate Authority (CA) certificate & key"
The instructions "If you are using Windows, open up a Command Prompt window and cd to \Program Files\OpenVPN\easy-rsa. Run the following batch file to copy configuration files into place (this will overwrite any preexisting vars.bat and openssl.cnf files):
init-config"
do not relate to the files on my system, meaning I do not have an init-config file to run nor an OpenVPN\easy-rsa folder.
Are there updated instructions someplace for "OpenVPN/easy-rsa-master" files which are used for a 2.3.x installation?
The instructions "If you are using Windows, open up a Command Prompt window and cd to \Program Files\OpenVPN\easy-rsa. Run the following batch file to copy configuration files into place (this will overwrite any preexisting vars.bat and openssl.cnf files):
init-config"
do not relate to the files on my system, meaning I do not have an init-config file to run nor an OpenVPN\easy-rsa folder.
Are there updated instructions someplace for "OpenVPN/easy-rsa-master" files which are used for a 2.3.x installation?
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Install 2.3.6 in a Win7 environment - need instructions
easy-rsa scripts have been removed from the latest releases of openvpn,
meaning that you do have 2 options:
you download easy-rsa 3 from github or
you download an older version of openvpn which contains easy rsa
Michael.
meaning that you do have 2 options:
you download easy-rsa 3 from github or
you download an older version of openvpn which contains easy rsa

Michael.
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Install 2.3.6 in a Win7 environment - need instructions
I just downloaded Installer (32-bit), Windows XP and later openvpn-install-2.3.6-I003-i686.exe and easy-rsa is still included.
Although, the option is not selected on install by default, selecting:
Although, the option is not selected on install by default, selecting:
- OpenSSL Utilities
- OpenVPN RSA Certificate Manager Scripts
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Mar 19, 2015 11:17 pm
Re: Install 2.3.6 in a Win7 environment - need instructions
I have downloaded easyrsa 3 and the files do not correspond with the instructions, i.e. there does not seem to be an init-config bat file anywhere..
I need step by step instructions and can't find them. As a shot in the dark I tried entering this: c:\Program Files\OpenVPN\easy-rsa-master\easyrsa3>easyrsa vars
and got this: 'easyrsa' is not recognized as an internal or external command,
operable program or batch file.
Hopefully somebody can help me understand my problem...
I need step by step instructions and can't find them. As a shot in the dark I tried entering this: c:\Program Files\OpenVPN\easy-rsa-master\easyrsa3>easyrsa vars
and got this: 'easyrsa' is not recognized as an internal or external command,
operable program or batch file.
Hopefully somebody can help me understand my problem...
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Install 2.3.6 in a Win7 environment - need instructions
Easy-RSAv300rc2 (Windows):
Download:
Download:
- Unzip to directory ..
Navigate to directory ..
- EasyRSA-3.0.0-rc2\EasyRSA Start.bat
- EasyRSA-3.0.0-rc2\README.quickstart.html
EasyRSA-3.0.0-rc2\README-Windows.txt
EasyRSA-3.0.0-rc2\doc
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Mar 19, 2015 11:17 pm
Re: Install 2.3.6 in a Win7 environment - need instructions
Thanks, that seemed to be working well until I tried to do the init and build, here is the session:
"
Welcome to the EasyRSA 3 Shell for Windows.
Easy-RSA 3 is available under a GNU GPLv2 license.
Invoke './easyrsa' to call the program. Without commands, help is displayed.
EasyRSA Shell
# ./easyrsa build-ca
Easy-RSA error:
EASYRSA_PKI does not exist (perhaps you need to run init-pki)?
Expected to find the EASYRSA_PKI at: C:/Program Files/OpenVPN/EasyRSA-3.0.0-rc2/
pki
Run easyrsa without commands for usage and command help.
EasyRSA Shell
# ./easyrsa init-pki
init-pki complete; you may now create a CA or requests.
Your newly created PKI dir is: C:/Program Files/OpenVPN/EasyRSA-3.0.0-rc2/pki
EasyRSA Shell
# ./easyrsa build-ca
Easy-RSA error:
EASYRSA_PKI does not exist (perhaps you need to run init-pki)?
Expected to find the EASYRSA_PKI at: C:/Program Files/OpenVPN/EasyRSA-3.0.0-rc2/
pki
Run easyrsa without commands for usage and command help.
EasyRSA Shell
#"
It said it completed the pki but no pki folder was written and the build-ca would not work, any ideas?
"
Welcome to the EasyRSA 3 Shell for Windows.
Easy-RSA 3 is available under a GNU GPLv2 license.
Invoke './easyrsa' to call the program. Without commands, help is displayed.
EasyRSA Shell
# ./easyrsa build-ca
Easy-RSA error:
EASYRSA_PKI does not exist (perhaps you need to run init-pki)?
Expected to find the EASYRSA_PKI at: C:/Program Files/OpenVPN/EasyRSA-3.0.0-rc2/
pki
Run easyrsa without commands for usage and command help.
EasyRSA Shell
# ./easyrsa init-pki
init-pki complete; you may now create a CA or requests.
Your newly created PKI dir is: C:/Program Files/OpenVPN/EasyRSA-3.0.0-rc2/pki
EasyRSA Shell
# ./easyrsa build-ca
Easy-RSA error:
EASYRSA_PKI does not exist (perhaps you need to run init-pki)?
Expected to find the EASYRSA_PKI at: C:/Program Files/OpenVPN/EasyRSA-3.0.0-rc2/
pki
Run easyrsa without commands for usage and command help.
EasyRSA Shell
#"
It said it completed the pki but no pki folder was written and the build-ca would not work, any ideas?
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Install 2.3.6 in a Win7 environment - need instructions
Did you Run as Administrator ?
-
- OpenVpn Newbie
- Posts: 4
- Joined: Thu Mar 19, 2015 11:17 pm
Re: Install 2.3.6 in a Win7 environment - need instructions
when I right-click and run EasyRSA Start.bat as administrator, it asks me to verify and I click yes, then it flashes a command prompt window on screen and disappears. In properties menu Run as Administrator is greyed out, so it seems I cannot run the batch file as administrator?
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Install 2.3.6 in a Win7 environment - need instructions
Command Prompt Icon: <Right-click>: "Run as Administrator"

