Relax OpenVPN wizard cert validation to match that of the cert manager and encode values before using them. Fixes #7854 Also, CDATA escape these fields in config.xml since they will most likely contain characters which are invalid in XML. While here, fix a cert display issue where a SAN value could be reused from a previous entry in the cert list display.
(cherry picked from commit 00d5594c737d475abab8e0361bb3ff7f93b98ac8)
Related issues
Bug #7854: OpenVPN Remote Access Server Setup Wizard - Regex too strict
Relax OpenVPN wizard cert validation to match that of the cert manager and encode values before using them. Fixes #7854
Also, CDATA escape these fields in config.xml since they will most likely contain characters which are invalid in XML.
While here, fix a cert display issue where a SAN value could be reused from a previous entry in the cert list display.
(cherry picked from commit 00d5594c737d475abab8e0361bb3ff7f93b98ac8)