Merge pull request #351 from w2ak/master

ovpn_getclient: key-direction before tls-auth
This commit is contained in:
Kyle Manna 2018-01-04 23:18:36 -08:00 committed by GitHub
commit d5497ba74a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 "