deranjer / OpenVPN-PHP-Management-Gui

OpenVPN-PHP-Gui is a php script to manage your openvpn installation.
MIT License
111 stars 54 forks source link

It would seem sensible to use the phpseclib libraries to create the certificates #5

Open JonTheNiceGuy opened 10 years ago

JonTheNiceGuy commented 10 years ago

There is code here: http://phpseclib.sourceforge.net/x509/guide.html#casigned which can be adjusted to match what we'd need. This would reduce the reliance on the ssh commands, as more stuff can be run from the PHP session before offloading the certificate contents.