summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-07 17:32:00 +0200
committerGitHub <noreply@github.com>2021-07-07 17:32:00 +0200
commit17dff308810497aab19428a6340a4261d91893e4 (patch)
tree8bde3ac286bc552bea9322efcdda33e05e3a86e9 /op-mode-definitions
parent511253635a9b67396788d24bacafd237594e0e12 (diff)
parent5a7c46016a23387312b2c9e18528ad7bb20e8366 (diff)
downloadvyos-1x-17dff308810497aab19428a6340a4261d91893e4.tar.gz
vyos-1x-17dff308810497aab19428a6340a4261d91893e4.zip
Merge pull request #912 from sarthurdev/pki_ipsec_rsa
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>