Hello,
Real noob here. On a fresh install of OMV4 on a Raspberry 3.
I'm trying to use Haugene's GitHub tool.
I 've installed docker, and configured an image for my first user using DockerfileMYUSER.armhf file (which is a copy of Dockerfile.armhf with environment variable modified).
In extra args I've specified : -v /etc/openvpn/custom/myuser.ovpn:/etc/openvpn/custom/default.ovpn
I want to use a custom provider (ca.crt / myuser.crt / myuser.key / myuser.ovpn / ta.key generated via a dedicated server).
When I launch my container I've this in the logs :
Using OpenVPN provider: CUSTOM No VPN configuration provided. Using default. Setting OPENVPN credentials... Options error: --ca fails with '/etc/openvpn/custom/ca.crt': No such file or directory Options error: --cert fails with '/etc/openvpn/custom/myuser.crt': No such file or directory Sun May 12 08:03:12 2019 WARNING: cannot stat file '/etc/openvpn/custom/myuser.key': No such file or directory (errno=2) Options error: --key fails with '/etc/openvpn/custom/myuser.key': No such file or directory Sun May 12 08:03:12 2019 WARNING: cannot stat file '/etc/openvpn/custom/ta.key': No such file or directory (errno=2) Options error: --tls-auth fails with '/etc/openvpn/custom/ta.key': No such file or directory Options error: Please correct these errors. Use --help for more information.
And in my /etc/openvpn/custom/myuser.ovpn file, I've specified the complete path of ca.crt / myuser.crt / myuser.key / ta.key.
For example :
# Client client dev tun proto tcp-client remote XX.XX.XX.XX 443 resolv-retry infinite cipher AES-256-CBC # Clés ca /etc/openvpn/custom/ca.crt cert /etc/openvpn/custom/myuser.crt key /etc/openvpn/custom/myuser.key tls-auth /etc/openvpn/custom/ta.key 1 # Sécurite nobind persist-key persist-tun comp-lzo verb 3
I don't understand what's wrong with my configuration.
Is it a bug ?
Many thanks for your help !