summaryrefslogtreecommitdiff
path: root/openvpn/easy-rsa/Windows/build-dh.bat
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn/easy-rsa/Windows/build-dh.bat')
-rw-r--r--openvpn/easy-rsa/Windows/build-dh.bat4
1 files changed, 4 insertions, 0 deletions
diff --git a/openvpn/easy-rsa/Windows/build-dh.bat b/openvpn/easy-rsa/Windows/build-dh.bat
new file mode 100644
index 0000000..74bc603
--- /dev/null
+++ b/openvpn/easy-rsa/Windows/build-dh.bat
@@ -0,0 +1,4 @@
+@echo off
+cd %HOME%
+rem build a dh file for the server side
+openssl dhparam -out %KEY_DIR%/dh%KEY_SIZE%.pem %KEY_SIZE%