Page 1 of 1

OpenVPN service won't start after installation - Debian conf file not found

Posted: Wed Dec 11, 2019 12:36 am
by central
Hi,

Debian Stretch VPS

I've recently installed the Open VPN package which when attempting to start gives the following error

Code: Select all

Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/server.conf
I've found the conf file is located in /etc/openvpn/server/

How do I make the system see the location of the file?

Output of sudo openvpn --config /etc/openvpn/server/server.conf

Code: Select all

Options error: --dh fails with 'dh.pem': No such file or directory
Options error: --ca fails with 'ca.crt': No such file or directory
Options error: --cert fails with 'server.crt': No such file or directory
Wed Dec 11 00:34:40 2019 WARNING: cannot stat file 'server.key': No such file or directory (errno=2)
Options error: --key fails with 'server.key': No such file or directory
Options error: --crl-verify fails with 'crl.pem': No such file or directory
Wed Dec 11 00:34:40 2019 WARNING: cannot stat file 'tc.key': No such file or directory (errno=2)
Options error: --tls-crypt fails with 'tc.key': No such file or directory
Options error: Please correct these errors.
Use --help for more information.
Regards