From 5963a076c93b87fd90ea09650ebb470b1ddcca1f Mon Sep 17 00:00:00 2001 From: Ivan Palamarchuk Date: Wed, 4 Aug 2021 11:46:04 +0300 Subject: [PATCH] Using --genkey --secret filename is DEPRECATED --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 4df5783..31fe8d0 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -247,7 +247,7 @@ LimitNPROC=infinity" > /etc/systemd/system/openvpn-server@server.service.d/disab # Without +x in the directory, OpenVPN can't run a stat() on the CRL file chmod o+x /etc/openvpn/server/ # Generate key for tls-crypt - openvpn --genkey --secret /etc/openvpn/server/tc.key + openvpn --genkey secret /etc/openvpn/server/tc.key # Create the DH parameters file using the predefined ffdhe2048 group echo '-----BEGIN DH PARAMETERS----- MIIBCAKCAQEA//////////+t+FRYortKmq/cViAnPTzx2LnFg84tNpWp4TZBFGQz