[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:
parent
30fcd3c6da
commit
26589a118e
@ -58,10 +58,10 @@ $(openssl x509 -in $EASYRSA_PKI/issued/${cn}.crt)
|
|||||||
<ca>
|
<ca>
|
||||||
$(cat $EASYRSA_PKI/ca.crt)
|
$(cat $EASYRSA_PKI/ca.crt)
|
||||||
</ca>
|
</ca>
|
||||||
|
key-direction 1
|
||||||
<tls-auth>
|
<tls-auth>
|
||||||
$(cat $EASYRSA_PKI/ta.key)
|
$(cat $EASYRSA_PKI/ta.key)
|
||||||
</tls-auth>
|
</tls-auth>
|
||||||
key-direction 1
|
|
||||||
"
|
"
|
||||||
elif [ "$mode" == "separated" ]; then
|
elif [ "$mode" == "separated" ]; then
|
||||||
echo "
|
echo "
|
||||||
|
Loading…
Reference in New Issue
Block a user