Link to home
Create AccountLog in
Avatar of aleleich
aleleich

asked on

setup openvpn on vista 32

I am trying to setup openvpn

The problem is that I keep getting the error, I am unable to access the keys directory. The directory is there and it can be written to because when i run Build-key-server..

Full text of error'
C:\Program Files\OpenVPN\easy-rsa>build-key-server server
Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
..........++++++
.....++++++
writing new private key to 'keys\server.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [BR]:
State or Province Name (full name) [SP]:
Locality Name (eg, city) [SaoPaulo]:
Organization Name (eg, company) [Virtual]:
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:xxxxxx
Email Address [aleleich@gmail.com]:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:xxxxxxxx
An optional company name []:xxxxxxxx
WARNING: can´t oprn config file: /usr/local/ssl/openssl.cnf
Using configuration from openssl.cnf
Loading 'screen' into random state - done
I am unable to access the keys directory
keys: Invalid argument
Could Not Find C:\Program Files\OpenVPN\easy-rsa\keys\*.old

Please help. I found I problem similar here, but the solution refered to a broken link.

Thanks.
Avatar of Paranormastic
Paranormastic
Flag of United States of America image

Sorry, not specifically familiar with this program, but I do have a little bit to offer here..
 /usr/local/ssl/openssl.cnf is a linux path, not windows.

You might try installing cygwin and running the program from within that, it is a linux shell that can be run within windows.  Or just run it on linux.
Avatar of aleleich
aleleich

ASKER

Hello, the problem of the directory was solved because it found another config file, the problem is it can't access the keys directory.

Thanks.
Hello, I found a step-by-step tutorial for installing openvpn in windows vista at:

http://www.computechgroup.com/?p=209

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of ee_auto
ee_auto

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer