diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-06-25 23:04:31 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-06-29 01:37:59 +0200 |
commit | 0d5ac59894ae7c10bd9d69047fa7098de66f835f (patch) | |
tree | 2b36fb68c41ddb4f13a087833edd774cd841f005 /interface-definitions | |
parent | 56457c9f35c5273d1d7ad679f37278c6cf2c77b0 (diff) | |
download | vyos-1x-0d5ac59894ae7c10bd9d69047fa7098de66f835f.tar.gz vyos-1x-0d5ac59894ae7c10bd9d69047fa7098de66f835f.zip |
openvpn: T4485: Accept multiple `tls ca-certificate` values
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/pki/ca-certificate-multi.xml.i | 15 | ||||
-rw-r--r-- | interface-definitions/interfaces-openvpn.xml.in | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/interface-definitions/include/pki/ca-certificate-multi.xml.i b/interface-definitions/include/pki/ca-certificate-multi.xml.i new file mode 100644 index 000000000..646131b54 --- /dev/null +++ b/interface-definitions/include/pki/ca-certificate-multi.xml.i @@ -0,0 +1,15 @@ +<!-- include start from pki/ca-certificate-multi.xml.i --> +<leafNode name="ca-certificate"> + <properties> + <help>Certificate Authority chain in PKI configuration</help> + <completionHelp> + <path>pki ca</path> + </completionHelp> + <valueHelp> + <format>txt</format> + <description>Name of CA in PKI configuration</description> + </valueHelp> + <multi/> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/interfaces-openvpn.xml.in b/interface-definitions/interfaces-openvpn.xml.in index f1cbf8468..6cbd91ff4 100644 --- a/interface-definitions/interfaces-openvpn.xml.in +++ b/interface-definitions/interfaces-openvpn.xml.in @@ -741,7 +741,7 @@ </properties> </leafNode> #include <include/pki/certificate.xml.i> - #include <include/pki/ca-certificate.xml.i> + #include <include/pki/ca-certificate-multi.xml.i> <leafNode name="dh-params"> <properties> <help>Diffie Hellman parameters (server only)</help> |