Привет,
Поднимаю TLS-openvpn на debian 9 по этому гайду https://wiki.debian.org/OpenVPN.
Что я ввел :
1) apt-get install openvpn
2) apt-get install easy-rsa
3) make-cadir easy-rsa
4) cd easy-rsa
5) ln -s openssl-1.0.0.cnf openssl.cnf
6) chmod +x vars
7) sudo ./vars
8) sudo ./build-ca
Вот на восьмом шаге в гайде написано : It will generate ca.crt and ca.key in /etc/openvpn/easy-rsa/keys/ directory.
У меня никаких ключей не сгененрировалось в этой папке не воявилось.
Some output :
sudo ./vars
NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/keys
root@s169731:/etc/openvpn/easy-rsa# sudo ./clean-all
Please source the vars script first (i.e. "source ./vars")
Make sure you have edited it to reflect your configuration.
sudo ./build-ca
Please edit the vars script to reflect your configuration,
then source it with "source ./vars".
Next, to start with a fresh PKI configuration and to delete any
previous certificates and keys, run "./clean-all".
Finally, you can run this tool (pkitool) to build certificates/keys.