Openvpn-client on Voxel firmware

4 posts / 0 new
Last post
vmb
vmb's picture
Openvpn-client on Voxel firmware

After installing and using Voxels firmware (really quick and stable) on my R7800 I encouterd an issue I can't solve myself.

My problem is that the Openvpn-client won't start. Of course I disabled the server-option in the webgui.

In the logfile (/var/log/openvpn-client.log) the following was registered:

Sun Nov  5 19:39:18 2017 OpenVPN 2.4.4 arm-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Sun Nov  5 19:39:18 2017 library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.10
Sun Nov  5 19:39:18 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Nov  5 19:39:18 2017 OpenSSL: error:02001002:lib(2):func(1):reason(2)
Sun Nov  5 19:39:18 2017 OpenSSL: error:2006D080:lib(32):func(109):reason(128)
Sun Nov  5 19:39:18 2017 Cannot load CA certificate file ca.rsa.2048.crt (no entries were read)
Sun Nov  5 19:39:18 2017 Exiting due to fatal error
Error: OpenVPN client start failed.
 
The client directory (/etc/openvpn/config/client) contains 4 files:
ca.rsa.2048.crt
crl.rsa.2048.pem
netherlands.ovpn
pass.txt (with my login credentials)
 
What can I do to solve this issue? Voxel can you help me? Hope you can ;-), really like your firmware :-)
 
 
Voxel
Voxel's picture
You should use full path to

You should use full path to CA/CRT/KEY files in your netherlands.ovpn. Not just (for example):

ca ca.rsa.2048.crt

but 

ca /etc/openvpn/config/client/ca.rsa.2048.crt

etc.

Voxel.

vmb
vmb's picture
Thank you Voxel! You made my

Thank you Voxel! You made my day! Everything working fine and up and running...

Voxel
Voxel's picture
You are welcome ;-) Voxel.

You are welcome ;-)

Voxel.