Henric Rosvall
New Around Here
Hi !
I connect to work through OpenVPN, and now that I have a new router I thought that the router could do the connection instead of OpenVPN GUI.
But it has proven difficult to get the connection working.
Every time I connect with OPenVPN GUI I need to input a password (to be able to decrypt the certificates?). And then it works like it should.
But in the router config there doesn't seem to be an option to input a password to unlock the encryption and connect. So the connection fails with the message:
Feb 20 18:19:45 openvpn[6057]: Error: private key password verification failed
Feb 20 18:19:45 openvpn[6057]: Exiting due to fatal error
Any idea what is wrong and how I could fix it?
The current ovpn-config that works fine in OpenVPN GUI if I just input my password:
I connect to work through OpenVPN, and now that I have a new router I thought that the router could do the connection instead of OpenVPN GUI.
But it has proven difficult to get the connection working.
Every time I connect with OPenVPN GUI I need to input a password (to be able to decrypt the certificates?). And then it works like it should.
But in the router config there doesn't seem to be an option to input a password to unlock the encryption and connect. So the connection fails with the message:
Feb 20 18:19:45 openvpn[6057]: Error: private key password verification failed
Feb 20 18:19:45 openvpn[6057]: Exiting due to fatal error
Any idea what is wrong and how I could fix it?
The current ovpn-config that works fine in OpenVPN GUI if I just input my password:
Code:
#OpenVPN Server conf
tls-client
client
dev tun
proto udp
tun-mtu 1500
remote [IP TO THE FIREWALL AT WORK] 1194
ca [inline]
<ca>
-----BEGIN CERTIFICATE-----
[THE CA CERTIFICATE]
-----END CERTIFICATE-----
</ca>
cert [inline]
<cert>
-----BEGIN CERTIFICATE-----
[THE USER CERTIFICATE]
-----END CERTIFICATE-----
</cert>
key [inline]
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
[THE KEY CERTIFICATE]
-----END ENCRYPTED PRIVATE KEY-----
</key>
cipher BF-CBC
comp-lzo
verb 3
ns-cert-type server
Last edited: