summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2021-07-06 23:19:48 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2021-07-07 00:53:27 +0200
commit5a7c46016a23387312b2c9e18528ad7bb20e8366 (patch)
tree8bde3ac286bc552bea9322efcdda33e05e3a86e9 /op-mode-definitions
parent511253635a9b67396788d24bacafd237594e0e12 (diff)
downloadvyos-1x-5a7c46016a23387312b2c9e18528ad7bb20e8366.tar.gz
vyos-1x-5a7c46016a23387312b2c9e18528ad7bb20e8366.zip
pki: T3642: Migrate rsa-keys to PKI configuration
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/vpn-ipsec.xml.in50
1 files changed, 0 insertions, 50 deletions
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in
index fe0597eed..20f275e9b 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -1,49 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<interfaceDefinition>
- <node name="generate">
- <children>
- <node name="vpn">
- <properties>
- <help>VPN key generation utility</help>
- </properties>
- <children>
- <node name="rsa-key">
- <properties>
- <help>Generate local RSA key (default: bits=2192)</help>
- </properties>
- <children>
- <tagNode name="bits">
- <properties>
- <help>Generate local RSA key with specified number of bits</help>
- <completionHelp>
- <list>&lt;16-4096&gt;</list>
- </completionHelp>
- </properties>
- <command>sudo ${vyos_op_scripts_dir}/vpn_ipsec.py --action="rsa-key" --bits="$5"</command>
- </tagNode>
- </children>
- <command>sudo ${vyos_op_scripts_dir}/vpn_ipsec.py --action="rsa-key" --bits="2192"</command>
- </node>
- <node name="x509">
- <properties>
- <help>x509 key-pair generation tool</help>
- </properties>
- <children>
- <tagNode name="key-pair">
- <properties>
- <help>Generate x509 key-pair</help>
- <completionHelp>
- <list>&lt;common-name&gt;</list>
- </completionHelp>
- </properties>
- <command>sudo ${vyos_op_scripts_dir}/vpn_ipsec.py --action="x509" --name="$5"</command>
- </tagNode>
- </children>
- </node>
- </children>
- </node>
- </children>
- </node>
<node name="reset">
<children>
<node name="vpn">
@@ -139,12 +95,6 @@
<help>Show Internet Key Exchange (IKE) information</help>
</properties>
<children>
- <node name="rsa-keys">
- <properties>
- <help>Show VPN RSA keys</help>
- </properties>
- <command>sudo ${vyos_op_scripts_dir}/vpn_ipsec.py --action="rsa-key-show"</command>
- </node>
<node name="sa">
<properties>
<help>Show all currently active IKE Security Associations (SA)</help>