summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_ipsec.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-03 19:08:18 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-03 19:09:47 +0200
commit2aec3e61c9130e942cb766aa0e5f4acf900dc921 (patch)
tree9d04ea091cd62782cfaef40b8f57da228d5f6178 /interface-definitions/vpn_ipsec.xml.in
parent32fab6c7c5a7d8ad926513fcc5a5c637b77769e3 (diff)
downloadvyos-1x-2aec3e61c9130e942cb766aa0e5f4acf900dc921.tar.gz
vyos-1x-2aec3e61c9130e942cb766aa0e5f4acf900dc921.zip
ipsec: T2816: provide x509 certificate base auth building blocks
Diffstat (limited to 'interface-definitions/vpn_ipsec.xml.in')
-rw-r--r--interface-definitions/vpn_ipsec.xml.in20
1 files changed, 2 insertions, 18 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index c301703c3..ff60bb82f 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -737,15 +737,8 @@
<help>Peer authentication [REQUIRED]</help>
</properties>
<children>
- <leafNode name="id">
- <properties>
- <help>ID for peer authentication</help>
- <valueHelp>
- <format>txt</format>
- <description>ID used for peer authentication</description>
- </valueHelp>
- </properties>
- </leafNode>
+ #include <include/ipsec/authentication-id.xml.i>
+ #include <include/ipsec/authentication-x509.xml.i>
<leafNode name="mode">
<properties>
<help>Authentication mode</help>
@@ -798,15 +791,6 @@
<valueless/>
</properties>
</leafNode>
- <node name="x509">
- <properties>
- <help>X.509 certificate</help>
- </properties>
- <children>
- #include <include/pki/certificate-key.xml.i>
- #include <include/pki/ca-certificate.xml.i>
- </children>
- </node>
</children>
</node>
<leafNode name="connection-type">