Skip to content

Commit

Permalink
use remote-cert-tls instead of depricated ns-cert-type
Browse files Browse the repository at this point in the history
  • Loading branch information
wtayyeb committed Jul 4, 2020
1 parent 6fd8c29 commit 8e3e7d2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions templates/client.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8e3e7d2

Please sign in to comment.