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:
I can't proceed without this directory. Please help.
12 Answers
You should install OpenVPN along with easy-rsa
sudo apt-get install openvpn easy-rsaand 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/.