From 86a6d2d3e7715fac982657826202518d29e8af95 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Mon, 21 Nov 2022 19:33:24 +0100 Subject: [PATCH] Revert "Use --genkey secret filename instead (#1059)" This reverts commit 0de56f8f335c74ad7de99c6165d1a8bc1d2e3149. --- openvpn-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index c905976..64d8ed0 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -742,11 +742,11 @@ function installOpenVPN() { case $TLS_SIG in 1) # Generate tls-crypt key - openvpn --genkey secret /etc/openvpn/tls-crypt.key + openvpn --genkey --secret /etc/openvpn/tls-crypt.key ;; 2) # Generate tls-auth key - openvpn --genkey secret /etc/openvpn/tls-auth.key + openvpn --genkey --secret /etc/openvpn/tls-auth.key ;; esac else