Per the article step 1 I made the ~/easy-rsa/ directory and made keys in there using easy-rsa.
When I start the OpenVPN service it fails to start and drops this in the log file;
Options error: --dh fails with 'dh.pem': No such file or directory (errno=2) Options error: --ca fails with 'ca.crt': No such file or directory (errno=2) Options error: --cert fails with 'server.crt': No such file or directory (errno=2) etc,etc
Per step 7 I am using user nobody but remarking that out doesn’t help as I’m assuming the service account doesn’t have access to those files either with the way step 1 sets that up.
Even declaring the full path to the key files in the config like "ca /home/username/easy-rsa/pki/ca.crt"doesn’t get it to work, assumed permission issue.
What am I missing here?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!