Skip to content

Commit 26589a1

Browse files
committed
[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 <[email protected]>
1 parent 30fcd3c commit 26589a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ovpn_getclient

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ $(openssl x509 -in $EASYRSA_PKI/issued/${cn}.crt)
5858
<ca>
5959
$(cat $EASYRSA_PKI/ca.crt)
6060
</ca>
61+
key-direction 1
6162
<tls-auth>
6263
$(cat $EASYRSA_PKI/ta.key)
6364
</tls-auth>
64-
key-direction 1
6565
"
6666
elif [ "$mode" == "separated" ]; then
6767
echo "

0 commit comments

Comments
 (0)