summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-05-05 12:19:25 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-05-05 12:19:25 -0500
commitd9379eaf7c10563738c34a09964421b9762f0a1b (patch)
tree23e40a792af9119650c89753d93ec447c65f2961 /templates
parent279b0fa9490432ed4ebc87792d34fd315d53566b (diff)
downloadvyatta-op-vpn-d9379eaf7c10563738c34a09964421b9762f0a1b.tar.gz
vyatta-op-vpn-d9379eaf7c10563738c34a09964421b9762f0a1b.zip
Add ability to generate an x509 key pair (certificate signing request, private key)
Diffstat (limited to 'templates')
-rw-r--r--templates/generate/vpn/x509/key-pair/node.def1
-rw-r--r--templates/generate/vpn/x509/key-pair/node.tag/node.def4
-rw-r--r--templates/generate/vpn/x509/node.def1
3 files changed, 6 insertions, 0 deletions
diff --git a/templates/generate/vpn/x509/key-pair/node.def b/templates/generate/vpn/x509/key-pair/node.def
new file mode 100644
index 0000000..8a16c69
--- /dev/null
+++ b/templates/generate/vpn/x509/key-pair/node.def
@@ -0,0 +1 @@
+help: x509 key-pair generation tool
diff --git a/templates/generate/vpn/x509/key-pair/node.tag/node.def b/templates/generate/vpn/x509/key-pair/node.tag/node.def
new file mode 100644
index 0000000..9882df8
--- /dev/null
+++ b/templates/generate/vpn/x509/key-pair/node.tag/node.def
@@ -0,0 +1,4 @@
+help: Generate x509 key-pair
+run:
+ sudo /opt/vyatta/sbin/vyatta-gen-x509-keypair.sh $5
+allowed: echo -n '<common-name>'
diff --git a/templates/generate/vpn/x509/node.def b/templates/generate/vpn/x509/node.def
new file mode 100644
index 0000000..8a16c69
--- /dev/null
+++ b/templates/generate/vpn/x509/node.def
@@ -0,0 +1 @@
+help: x509 key-pair generation tool