]> git.ipfire.org Git - ipfire-2.x.git/commit - html/cgi-bin/vpnmain.cgi
vpnmain.cgi: unique_subject = yes in index.txt.attr for first attempt with fresh...
authorAdolf Belka <adolf.belka@ipfire.org>
Thu, 15 Jun 2023 19:55:01 +0000 (21:55 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 16 Jun 2023 09:23:05 +0000 (09:23 +0000)
commit0746122a1609805e49c97934a06279746722d2cb
tree0f3454045135c5a140ec97de5f2c5187ffd806c8
parenta71450b6fabb942bf9f22ad47899a444ef26f857
vpnmain.cgi: unique_subject = yes in index.txt.attr for first attempt with fresh install

- The patches for Bug#13138
   https://patchwork.ipfire.org/project/ipfire/patch/20230603140541.13834-1-adolf.belka@ipfire.org/
   https://patchwork.ipfire.org/project/ipfire/patch/20230606104050.8290-1-adolf.belka@ipfire.org/
   work for an update to Core Update 175 but a fresh install of CU175 will still fail with
   the error when creating the root/host certificate set for the first time.
- This patch ensures that the unique_subject = yes line is addeed to index.txt.attr
   when the root/host certificate set is attempted to be created or is uploaded also for
   the first attempt.

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/vpnmain.cgi