1
1
mirror of https://github.com/namibia/openvpn-install.git synced 2024-12-22 06:48:55 +00:00

Revert "Use --genkey secret filename instead (#1059)"

This reverts commit 0de56f8f33.
This commit is contained in:
Stanislas Lange 2022-11-21 19:33:24 +01:00
parent d3751457ab
commit 86a6d2d3e7
No known key found for this signature in database

View File

@ -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