Skip to content

Commit

Permalink
Fix a display failure of copyable snippt (pingcap#6289)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored May 18, 2021
1 parent 54997c7 commit e497ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certificate-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ mysql -utest -h0.0.0.0 -P4000 --ssl-cert /path/to/client-cert.new.pem --ssl-key
create user 'u1'@'%' require san 'DNS:d1,URI:spiffe://example.org/myservice1,URI:spiffe://example.org/myservice2'
```
以上配置只允许用户 `u1` 使用 URI 项为 `spiffe://example.org/myservice1` 或 `spiffe://example.org/myservice2`、DNS 项为 `d1` 的证书登录 TiDB。
以上配置只允许用户 `u1` 使用 URI 项为 `spiffe://example.org/myservice1` 或 `spiffe://example.org/myservice2`、DNS 项为 `d1` 的证书登录 TiDB。
+ `require cipher`:配置该项检查客户端支持的 `cipher method`。可以使用以下语句来查看支持的列表:
Expand Down

0 comments on commit e497ca1

Please sign in to comment.