Skip to content

Commit

Permalink
Fix a typo about enabling tls (#3801)
Browse files Browse the repository at this point in the history
* found a typo

* found a typo

Co-authored-by: Lilian Lee <lilin@pingcap.com>
  • Loading branch information
刘校 and lilin90 authored Sep 2, 2020
1 parent 9692ba9 commit 02e83f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enable-tls-between-clients-and-servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ If the `ssl-ca` parameter is not specified in the TiDB server or MySQL client, t

- To perform mutual authentication, meet both of the above requirements.

By default, the server-to-client authentication is optional. Even if the client does not present its certificate of identification during the TLS handshake, the TLS connection can be still established. You can also require the client to be authenticated by specifying `require 509` when creating a user (`create user`), granting permissions (`grant`), or modifying an existing user (`alter user`). The following is an example of creating a user:
By default, the server-to-client authentication is optional. Even if the client does not present its certificate of identification during the TLS handshake, the TLS connection can be still established. You can also require the client to be authenticated by specifying `require x509` when creating a user (`create user`), granting permissions (`grant`), or modifying an existing user (`alter user`). The following is an example of creating a user:

{{< copyable "sql" >}}

Expand Down

0 comments on commit 02e83f3

Please sign in to comment.