View previous topic :: View next topic |
Author |
Message |
hejmus n00b
Joined: 26 Dec 2008 Posts: 2
|
Posted: Fri Dec 26, 2008 11:53 pm Post subject: OpenVPN keys mismatch |
|
|
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 |
|
|
MacGyver031 Tux's lil' helper
Joined: 11 Jul 2004 Posts: 141 Location: Ilavalai, Sri Lanka
|
Posted: Sat Dec 27, 2008 12:14 am Post subject: |
|
|
you got the key wrong!
_________________ 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 |
|
|
hejmus n00b
Joined: 26 Dec 2008 Posts: 2
|
Posted: Sat Dec 27, 2008 12:05 pm Post subject: |
|
|
thanks ! |
|
Back to top |
|
|
|
|
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
|
|