diff --git a/templates/client.conf.j2 b/templates/client.conf.j2 index 2881f6c..3b206a8 100644 --- a/templates/client.conf.j2 +++ b/templates/client.conf.j2 @@ -63,11 +63,8 @@ key {{client}}.key # Verify server certificate by checking that the certicate has the nsCertType # field set to "server". This is an important precaution to protect against a # potential attack discussed here: http://openvpn.net/howto.html#mitm -# -# To use this feature, you will need to generate your server certificates with -# the nsCertType field set to "server". The build-key-server script in the -# easy-rsa folder will do this. -ns-cert-type server + +remote-cert-tls server {% if openvpn_tls_auth and not openvpn_unified_client_profiles -%} # Use a static pre-shared key (PSK)