We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b9019 commit ef7c164Copy full SHA for ef7c164
bin/ovpn_genconfig
@@ -324,7 +324,7 @@ key $EASYRSA_PKI/private/${OVPN_CN}.key
324
ca $EASYRSA_PKI/ca.crt
325
cert $EASYRSA_PKI/issued/${OVPN_CN}.crt
326
dh $EASYRSA_PKI/dh.pem
327
-tls-auth $EASYRSA_PKI/ta.key
+tls-crypt $EASYRSA_PKI/ta.key
328
key-direction 0
329
keepalive $OVPN_KEEPALIVE
330
persist-key
bin/ovpn_getclient
@@ -59,16 +59,16 @@ $(openssl x509 -in $EASYRSA_PKI/issued/${cn}.crt)
59
$(cat $EASYRSA_PKI/ca.crt)
60
</ca>
61
key-direction 1
62
-<tls-auth>
+<tls-crypt>
63
$(cat $EASYRSA_PKI/ta.key)
64
-</tls-auth>
+</tls-crypt>
65
"
66
elif [ "$mode" == "separated" ]; then
67
echo "
68
key ${cn}.key
69
ca ca.crt
70
cert ${cn}.crt
71
-tls-auth ta.key 1
+tls-crypt ta.key 1
72
73
fi
74
0 commit comments