]> git.ipfire.org Git - ipfire-2.x.git/commit
ovpnmain.cgi: Fixes Bug#13117 - adds legacy option to openssl commands for cert ...
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 21 May 2023 12:45:44 +0000 (14:45 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Mon, 22 May 2023 22:08:11 +0000 (22:08 +0000)
commitc847846c4cae4962b94dac3be871be5f9d0461b7
treedfc42146a8b60268e443d4da1eae2f03672a4143
parent416f31737656d1d5c5430befea419407e75af4b3
ovpnmain.cgi: Fixes Bug#13117 - adds legacy option to openssl commands for cert & key extraction

- Any insecure connections made with openssl-3.x can have the cert and key extracted but
   if the insecure connection was made from prior to CU175 Testing then it used
   openssl-1.1.1 which causes an error under openssl-3.x due to the old version being able
   to accept older ciphers no longer accepted by openssl-3.x
- Adding the -legacy option to the openssl commands enables openssl-3.x to successfully
   open them and extract the cert and key
- Successfully tested on a vm system. Confirmed that the downloaded version under
   openssl-3.x worked exactly the same as the version downloaded under openssl-1.1.1

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
html/cgi-bin/ovpnmain.cgi [changed mode: 0644->0755]