Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenVPN keys mismatch
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
hejmus
n00b
n00b


Joined: 26 Dec 2008
Posts: 2

PostPosted: Fri Dec 26, 2008 11:53 pm    Post subject: OpenVPN keys mismatch Reply with quote

Hi,

I installed OpenVPN, generated keys by easy-rsa and when I try to start server, I got this error:
Code:
gentoo233 openvpn # openvpn server.ovpn
Sat Dec 27 00:49:00 2008 OpenVPN 2.0.7 i486-pc-linux-gnu [SSL] [LZO] [EPOLL] built on Dec 25 2008
Sat Dec 27 00:49:00 2008 Diffie-Hellman initialized with 384 bit key
Sat Dec 27 00:49:01 2008 Cannot load private key file ca.key: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
Sat Dec 27 00:49:01 2008 Error: private key password verification failed
Sat Dec 27 00:49:01 2008 Exiting


server.ovpn:
Code:
port 1194
proto tcp
dev tun

ca ca.crt
cert server.crt
key ca.key
dh dh384.pem

server 192.168.10.0 255.255.255.0

ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3


I tried generating keys few times with different settings in easy-rsa/vars and I always got that error.
Back to top
View user's profile Send private message
MacGyver031
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2004
Posts: 141
Location: Ilavalai, Sri Lanka

PostPosted: Sat Dec 27, 2008 12:14 am    Post subject: Reply with quote

you got the key wrong!
Code:
 key server.key

_________________
Sincerely your
Joanand K.

MacBook Pro 5.1: 2.4GHz Core2 Duo, 4096MB, 500GB, NVidia 9400/9600 M GT
Gentoo, Kernel 3.4.9, XOrg, Fluxbox.
Back to top
View user's profile Send private message
hejmus
n00b
n00b


Joined: 26 Dec 2008
Posts: 2

PostPosted: Sat Dec 27, 2008 12:05 pm    Post subject: Reply with quote

thanks !
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