From e20503ba4ecfb831859d56de816a5beec3dcf608 Mon Sep 17 00:00:00 2001 From: ByloTonix Date: Fri, 2 Feb 2024 11:49:14 +0300 Subject: [PATCH] Changed --genkey --secret to --genkey secret DEPRECATED OPTION: The option --secret is deprecated. WARNING: Using --genkey --secret filename is DEPRECATED. Use --genkey secret filename instead. --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index ff1d0db..1cc069c 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -260,7 +260,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