Generating OpenVPN user certificates from shell
-
Hi guys,
is it possible to generate user certificates for OpenVPN from shell? I have to create a lot of new certificates and this takes a long time via the webinterface.
Greetings
-
Hi,
You tried option 12 ?
You'll be dealing with some sort of PHP shell scripting.
See the GUI (source) how CA's and certs are generated, and then use these PHP functions to do it 'manually'.It's just an idea.
Plan B : use the usual "openssl" commands as usual, and then just use PHP (see option 12) examples how to stiore them into the config.xml file so they waill be aviable to the GUI => show up over there and can get sued elsewhere in the GUI).