summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-14 17:24:22 +0100
committerGitHub <noreply@github.com>2023-12-14 17:24:22 +0100
commit9f72aff65e0589b9387227f69a25545eba5ba4f5 (patch)
treee0534e40c7d58ce940860513bdf885e147dcaf10 /interface-definitions
parent0917ed315aa3e8707ad8b67293b38e7452f9cda8 (diff)
parentfe99c45e05fd5794905145ddca80e6078145c2e8 (diff)
downloadvyos-1x-9f72aff65e0589b9387227f69a25545eba5ba4f5.tar.gz
vyos-1x-9f72aff65e0589b9387227f69a25545eba5ba4f5.zip
Merge pull request #2590 from sever-sever/T5798
T5798: load-balancing revese-proxy add multiple SSL certificates
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/pki/certificate-multi.xml.i15
-rw-r--r--interface-definitions/load-balancing-haproxy.xml.in2
2 files changed, 16 insertions, 1 deletions
diff --git a/interface-definitions/include/pki/certificate-multi.xml.i b/interface-definitions/include/pki/certificate-multi.xml.i
new file mode 100644
index 000000000..c49c5d9b2
--- /dev/null
+++ b/interface-definitions/include/pki/certificate-multi.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from pki/certificate-multi.xml.i -->
+<leafNode name="certificate">
+ <properties>
+ <help>Certificate in PKI configuration</help>
+ <completionHelp>
+ <path>pki certificate</path>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Name of certificate in PKI configuration</description>
+ </valueHelp>
+ <multi/>
+ </properties>
+</leafNode>
+<!-- include end -->
diff --git a/interface-definitions/load-balancing-haproxy.xml.in b/interface-definitions/load-balancing-haproxy.xml.in
index 564c335ec..8f6bd3a99 100644
--- a/interface-definitions/load-balancing-haproxy.xml.in
+++ b/interface-definitions/load-balancing-haproxy.xml.in
@@ -49,7 +49,7 @@
<help>SSL Certificate, SSL Key and CA</help>
</properties>
<children>
- #include <include/pki/certificate.xml.i>
+ #include <include/pki/certificate-multi.xml.i>
</children>
</node>
</children>