]> git.ipfire.org Git - ipfire-2.x.git/commit - html/cgi-bin/ovpnmain.cgi
ovpnmain.cgi: Bug 12574 - OpenVPN Internal server error when returning after generati...
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 14 Nov 2021 20:42:52 +0000 (21:42 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 19 Nov 2021 06:11:08 +0000 (07:11 +0100)
commitacbd6ff4dbbfa248b00d3922f666da7e6fabcc6c
treeb29d6765d9a8f82a3aca810449299c1ccf3041d3
parentced15fdfaf4b233dd43fc60df5e2d17e13f95637
ovpnmain.cgi: Bug 12574 - OpenVPN Internal server error when returning after generating root/host certificates

- Option "--secret" was deprecated in OpenVPN 2.4 and removed in OpenVPN 2.5
   It was replaced by "secret". If "--secret" is used with genkey then a user warning is
   printed and this is what gives the Internal server error.
- Patch was defined by Erik Kapfer but currently he does not have a build environment
   so I have submitted the patch on his behalf.
- Patch tested on a vm testbed running Core Update 160. Confirmed that without patch the
   error still occurs and with patch everything runs smoothly.

Fixes: Bug #12574
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by : Erik Kapfer <ummeegge@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
html/cgi-bin/ovpnmain.cgi