]> git.ipfire.org Git - ipfire-2.x.git/commit
ovpnmain.cgi: Updated fix for Bug#13137
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 7 Jun 2023 14:21:48 +0000 (16:21 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Jun 2023 12:43:45 +0000 (12:43 +0000)
commit7dec360355f0eb5bb9bc61b32a08e733aa070b40
tree278a92dd83fd9eab3bc10a18f1fa47a39407e721
parent3d2beee7b11a5eb1f42fa6478469fa8827e2a5e5
ovpnmain.cgi: Updated fix for Bug#13137

- This now only adds "providers legacy default" to the config files of connections that
   have legacy certificates, both for n2n and roadwarrior.
- This new approach also removes the requirement to have code in the update.sh script
   or in backup.pl so those earlier modifications are removed in two additional patches
   combined with this one in a set.
- The -legacy option has been removed from the pkcs12 creation part of the code as
   otherwise this creates a certificate in legacy format, which is not wanted. All new
   connection certificates being created will be based on openssl-3.x

Fixes: Bug#13137
Suggested-by: Michael Tremer <michael.tremer@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi