easy-rsa with win 7 x64 and 2.3.4

Support forum for Easy-RSA certificate management suite.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
chrisathome
OpenVpn Newbie
Posts: 9
Joined: Mon Sep 29, 2014 11:36 am

easy-rsa with win 7 x64 and 2.3.4

Post by chrisathome » Mon Oct 13, 2014 1:23 pm

OK, following very good advice I have downloaded 2.3.4 and easy-rsa from github.

I have installed openvpn ok on a clean laptop with the intention of using it as the certificate and key generator, and store copies of all the client config files I need to make.

Fallen at the first hurdle: having extracted all the zipped easy-rsa files into a temp folder, what next?

The help on the openvpn site says run init-config, so I assumed to copy the unzipped folder contents into \openvpn\easy-rsa, but that didn't work.

It's 5 years since I set my system up on 2.0.9, and I'm very confused! Is there any documentation to walk me through this step by step, and written for win 7 x64 and 2.3.4 please!

Thanks

Christopher

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: easy-rsa with win 7 x64 and 2.3.4

Post by Traffic » Mon Oct 13, 2014 1:43 pm

What version of EasyRSA are you using ?

chrisathome
OpenVpn Newbie
Posts: 9
Joined: Mon Sep 29, 2014 11:36 am

Re: easy-rsa with win 7 x64 and 2.3.4

Post by chrisathome » Mon Oct 13, 2014 4:12 pm

looks like version 3. found some info in a distro folder, and it looks as though I have to download additional stuff just to get easy-rsa to run - starting to get well out of my comfort zone.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: easy-rsa with win 7 x64 and 2.3.4

Post by Traffic » Mon Oct 13, 2014 7:00 pm

chrisathome wrote:I have installed openvpn ok on a clean laptop
What OS is this ?

chrisathome
OpenVpn Newbie
Posts: 9
Joined: Mon Sep 29, 2014 11:36 am

Re: easy-rsa with win 7 x64 and 2.3.4

Post by chrisathome » Mon Oct 13, 2014 8:05 pm

Sorry I only put that in the subject, Win 7 pro x64 fully patched

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: easy-rsa with win 7 x64 and 2.3.4

Post by Traffic » Mon Oct 13, 2014 8:25 pm

Download EasyRSA3-rc2 for windows ..
https://github.com/OpenVPN/easy-rsa/releases

chrisathome
OpenVpn Newbie
Posts: 9
Joined: Mon Sep 29, 2014 11:36 am

Re: easy-rsa with win 7 x64 and 2.3.4

Post by chrisathome » Tue Oct 14, 2014 1:11 pm

Ok I did that, extracted the files & folders from the zip and copied them to c:\program files\openvpn\easy-rsa and ran easyRSA Start.bat

In the EasyRSA Shell window I typed ./easyrsa init-pki and the shell reported it had created the pki directory but it hadn't, and typing ./easyrsa build-ca says easyrsa_pki does not exist.

So what am I doing wrong?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: easy-rsa with win 7 x64 and 2.3.4

Post by Traffic » Tue Oct 14, 2014 1:58 pm

You must "Runas Admin" or .. what I would do .. put EasyRSA in a sub-directory of your home directory.

chrisathome
OpenVpn Newbie
Posts: 9
Joined: Mon Sep 29, 2014 11:36 am

Re: easy-rsa with win 7 x64 and 2.3.4

Post by chrisathome » Wed Oct 15, 2014 8:17 pm

Thanks, putting it in a directory off the drive root did the trick. Just one more thing.

I want to create all the keys and certificates on the laptop, which I believe isn't a problem, as it is not a machine normally associated with the vpn. The various instruction docs I have seen talk about setting a password for the key and cert generation - if I do this will clients have to put the password into openvpn before they can access the tunnel? I don't want this, (it doesn't happen now with the 2.2.2 version) so I thought I had better check before I start building. Don't want to get them all done only to find I've done it wrong!

Thanks for your help

Christopher

Post Reply