Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems generating keys for a VPN server I'm playing with
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Naffer
n00b
n00b


Joined: 24 Aug 2004
Posts: 24

PostPosted: Tue Jun 21, 2005 4:58 am    Post subject: Problems generating keys for a VPN server I'm playing with Reply with quote

So I've been attempting to set up OpenVPN per the directions found at http://openvpn.net/howto.html and http://gentoo-wiki.com/HOWTO_Road_Warriors_with_OpenVPN but I've been running into strange problems while attempting to generate keys for client computers.

Code:
root@me easy-rsa # ./build-key nafferm
Generating a 1024 bit RSA private key
.........................++++++
...........................++++++
writing new private key to 'naffermob.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) [US]:
State or Province Name (full name) [State]:
Locality Name (eg, city) [City]:
Organization Name (eg, company) [Me]:
Organizational Unit Name (eg, section) [My Unit]:
Common Name (eg, your name or your server's hostname) []:Nafferm
Email Address [me@emails.net]:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:ar
[1]+  Stopped                 ./build-key nafferm


Two charachters into typing a challenge password, the script just stops. I get dropped back down to the command line and the process hangs, leaving bash(7628)-+-build-key(7669)---openssl(7670)

Even if I get past that particular prompt, it still fails to complete the key generation. Any ideas?
Back to top
View user's profile Send private message
NIH
n00b
n00b


Joined: 16 Sep 2003
Posts: 31

PostPosted: Tue Jun 21, 2005 12:56 pm    Post subject: Reply with quote

Hi,

I'M not entirely sure whats going on here but what I do find strange is the following:

You start a key build by issueing:
Code:
./build-key naffrem


But the script outputs:
Code:
writing new private key to 'naffermob.key'

on line 4 of you're code snippet

Next on the last line of you're code snippet it says:
Code:
[1]+  Stopped                 ./build-key nafferm

Seems to me there seems something funny going on with the keyname

NIH
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum