Snoopy
Snoopy copied to clipboard
easy-rsa is no longer part of openvpn
The installer is depending on easy-rsa which used to be a sub-part of the openvpn project. However, easy-rsa has been moved out of the openvpn project and now will require a seperate installation. Due to this currently the installer.sh script is failing.
Currently install.sh contains the below line of code to install the required packages:
apt-get install -y python-pip gcc libxml2-dev libxslt-dev python2.7-dev mysql-server squid3 openvpn bind9 tshark python-mysqldb apache2 python-beaker python-flask python-jinja2 python-mysqldb python-sqlalchemy python-werkzeug
This needs to be changed to the following line: apt-get install -y python-pip gcc libxml2-dev libxslt-dev python2.7-dev mysql-server squid3 openvpn bind9 tshark python-mysqldb apache2 python-beaker python-flask python-jinja2 python-mysqldb python-sqlalchemy python-werkzeug easy-rsa
this will resolve the above mentioned issue that easy-rsa is no longer part of the openvpn installation package.
As there is a need to install easy-rsa as a seperate package and due to the fact that it is no longer part of the openvpn project you will find that it is no longer a sub-dir of openvpn. The installer expects it to be however fails due to this.
Current line: cp -R /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/
Needs to be changed to: cp -R /usr/share/easy-rsa/* /etc/openvpn/easy-rsa/
this will resolve the issue and the installer script will working without any issues.