ovpn_getclient: Verify server certificate

* Verify the server's certificate to avoid MITM attacks
This commit is contained in:
Kyle Manna 2014-06-04 15:38:49 -07:00
parent bc4165e587
commit 4728990da3

View File

@ -24,6 +24,7 @@ client
nobind nobind
dev tun dev tun
redirect-gateway def1 redirect-gateway def1
remote-cert-tls server
<key> <key>
$(cat $EASYRSA_PKI/private/$cn.key) $(cat $EASYRSA_PKI/private/$cn.key)