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:
parent
d3751457ab
commit
86a6d2d3e7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user