[ovpn_getclient] key-direction before tls-auth

NetworkManager seems to be ignoring the `key-direction` directive when
it is after the `tls-auth` key, leading to issues as #268.

Signed-off-by: w2ak <w2ak@users.noreply.github.com>
This commit is contained in:
w2ak 2018-01-04 19:10:46 +01:00
parent 30fcd3c6da
commit 26589a118e
No known key found for this signature in database
GPG Key ID: 2F1F95F7738D7D23

View File

@ -58,10 +58,10 @@ $(openssl x509 -in $EASYRSA_PKI/issued/${cn}.crt)
<ca>
$(cat $EASYRSA_PKI/ca.crt)
</ca>
key-direction 1
<tls-auth>
$(cat $EASYRSA_PKI/ta.key)
</tls-auth>
key-direction 1
"
elif [ "$mode" == "separated" ]; then
echo "