Skip to content

Commit

Permalink
[ovpn_getclient] key-direction before tls-auth
Browse files Browse the repository at this point in the history
NetworkManager seems to be ignoring the `key-direction` directive when
it is after the `tls-auth` key, leading to issues as kylemanna#268.

Signed-off-by: w2ak <[email protected]>
  • Loading branch information
w2ak committed Jan 4, 2018
1 parent 30fcd3c commit 26589a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ovpn_getclient
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 26589a1

Please sign in to comment.