From 2976a51dd861b9238a211f4db45cab4766f846a7 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 3 Jan 2020 13:37:13 +0100 Subject: [PATCH] fix dh2048 creation on ubuntu --- debian9-x86_64.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index 157895b..ac3933c 100644 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -475,6 +475,7 @@ if [ "$OPENVPN" = "yes" ]; then # openvpn --genkey --secret static.key #fi if [ "$ID" = "ubuntu" ] && [ "$VERSION_ID" = "18.04" ]; then + openssl dhparam -out /etc/openvpn/server/dh2048.pem 2048 wget -O /tmp/EasyRSA-unix-v${EASYRSA_VERSION}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.6/EasyRSA-unix-v${EASYRSA_VERSION}.tgz cd /tmp tar xzvf EasyRSA-unix-v${EASYRSA_VERSION}.tgz