mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-22 00:39:03 +01: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
|
case $TLS_SIG in
|
||||||
1)
|
1)
|
||||||
# Generate tls-crypt key
|
# Generate tls-crypt key
|
||||||
openvpn --genkey secret /etc/openvpn/tls-crypt.key
|
openvpn --genkey --secret /etc/openvpn/tls-crypt.key
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
# Generate tls-auth key
|
# Generate tls-auth key
|
||||||
openvpn --genkey secret /etc/openvpn/tls-auth.key
|
openvpn --genkey --secret /etc/openvpn/tls-auth.key
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user