summaryrefslogtreecommitdiff
path: root/main/openvpn/sample/sample-keys
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2015-02-24 21:20:30 +0100
committerArne Schwabe <arne@rfc2549.org>2015-02-24 21:20:30 +0100
commit9a526dbc926ad43073016c8bf4634f781391acff (patch)
treeab91fb6d63126b05f5b7b10f343581f3540c168c /main/openvpn/sample/sample-keys
parent64786447cb71e4019d47bcddafc1f6eb8d171824 (diff)
Update OpenVPN to -master
Diffstat (limited to 'main/openvpn/sample/sample-keys')
-rwxr-xr-xmain/openvpn/sample/sample-keys/gen-sample-keys.sh3
-rw-r--r--main/openvpn/sample/sample-keys/ta.key21
2 files changed, 24 insertions, 0 deletions
diff --git a/main/openvpn/sample/sample-keys/gen-sample-keys.sh b/main/openvpn/sample/sample-keys/gen-sample-keys.sh
index 414687eb..725cfc97 100755
--- a/main/openvpn/sample/sample-keys/gen-sample-keys.sh
+++ b/main/openvpn/sample/sample-keys/gen-sample-keys.sh
@@ -14,6 +14,9 @@ then
exit 1
fi
+# Generate static key for tls-auth (or static key mode)
+$(dirname ${0})/../../src/openvpn/openvpn --genkey --secret ta.key
+
# Create required directories and files
mkdir -p sample-ca
rm -f sample-ca/index.txt
diff --git a/main/openvpn/sample/sample-keys/ta.key b/main/openvpn/sample/sample-keys/ta.key
new file mode 100644
index 00000000..16690368
--- /dev/null
+++ b/main/openvpn/sample/sample-keys/ta.key
@@ -0,0 +1,21 @@
+#
+# 2048 bit OpenVPN static key
+#
+-----BEGIN OpenVPN Static key V1-----
+a863b1cbdb911ff4ef3360ce135157e7
+241a465f5045f51cf9a92ebc24da34fd
+5fc48456778c977e374d55a8a7298aef
+40d0ab0c60b5e09838510526b73473a0
+8da46a8c352572dd86d4a871700a915b
+6aaa58a9dac560db2dfdd7ef15a202e1
+fca6913d7ee79c678c5798fbf7bd920c
+caa7a64720908da7254598b052d07f55
+5e31dc5721932cffbdd8965d04107415
+46c86823da18b66aab347e4522cc05ff
+634968889209c96b1024909cd4ce574c
+f829aa9c17d5df4a66043182ee23635d
+8cabf5a7ba02345ad94a3aa25a63d55c
+e13f4ad235a0825e3fe17f9419baff1c
+e73ad1dd652f1e48c7102fe8ee181e54
+10a160ae255f63fd01db1f29e6efcb8e
+-----END OpenVPN Static key V1-----