MT300N-V2 generate new .ovpn files from command line

Hi,
Is it possible to simulate pressing the “Generate configuration” button on the openvpn server webUI from the command line ?
Im interested in creating many server.ovpn/client.ovpn pairs to put into custom firmware builds.
thanks in advance