diff options
author | Arne Schwabe <arne@rfc2549.org> | 2015-02-24 21:20:30 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2015-02-24 21:20:30 +0100 |
commit | 9a526dbc926ad43073016c8bf4634f781391acff (patch) | |
tree | ab91fb6d63126b05f5b7b10f343581f3540c168c /main/openvpn/sample/sample-keys/gen-sample-keys.sh | |
parent | 64786447cb71e4019d47bcddafc1f6eb8d171824 (diff) |
Update OpenVPN to -master
Diffstat (limited to 'main/openvpn/sample/sample-keys/gen-sample-keys.sh')
-rwxr-xr-x | main/openvpn/sample/sample-keys/gen-sample-keys.sh | 3 |
1 files changed, 3 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 |