Installed easy-rsa package, but I cannot find the directory

I'm trying to set up OpenVPN, but I cannot generate certs due to not finding the easy-rsa directory.

The directory should be located here:

/usr/share/doc/openvpn/examples/easy-rsa/

However, when I list the directories from .../openvpn/examples, I get this:

easy-rsa missing

I can't proceed without this directory. Please help.

1

2 Answers

You should install OpenVPN along with easy-rsa

sudo apt-get install openvpn easy-rsa

and copy over the Easy-RSA generation scripts

sudo cp -r /usr/share/easy-rsa /etc/openvpn
1

After sudo apt install openvpn easy-rsa, do make-cadir /etc/openvpn/easy-rsa/.

This will create the directory /etc/openvpn/easy-rsa/.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like