]> git.ipfire.org Git - ipfire-2.x.git/commit
update.sh: Fixes bug#13138 - root/host certificate set fails to be created
authorAdolf Belka <adolf.belka@ipfire.org>
Tue, 6 Jun 2023 10:40:50 +0000 (12:40 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Jun 2023 12:44:19 +0000 (12:44 +0000)
commitd57f305a1042fb69aa597426ee3f62ccce384f80
tree84210a2d008e2cabc0be9d42cf8e310bc42b9228
parent7dec360355f0eb5bb9bc61b32a08e733aa070b40
update.sh: Fixes bug#13138 - root/host certificate set fails to be created

- The fix applied in vpnmain.cgi only adds the unique_subject = yes to the index.txt.attr
   file after the first time that the root/host certificates are attempted to be created.
- Without this line in update.sh, the first attempt to create the root/host certificate set
   will still have the original error code. If the creation is attempted again then it will
   work because the unique_subject = yes will have then been added into the file.
- This patch ensures that the first attempt to create a root/host certificate set in CU175
   will work.
- Confirmed on vm testbed with freshly updated CU175.

Fixes: Bug#13138
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>
config/rootfiles/core/175/update.sh