Skip to content

Commit 3afea57

Browse files
qiancaiti-chi-bot
authored andcommitted
This is an automated cherry-pick of pingcap#21171
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
1 parent 335678b commit 3afea57

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

enable-tls-between-components.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,14 @@ summary: 了解如何为 TiDB 集群内各组件间开启加密传输。
223223
## 证书重新加载
224224

225225
- 如果 TiDB 集群部署在本地的数据中心,TiDB、PD、TiKV、TiFlash、TiCDC 和各种 client 在每次新建相互通讯的连接时都会重新读取当前的证书和密钥文件内容,实现证书和密钥的重新加载,无需重启 TiDB 集群。
226+
<<<<<<< HEAD
226227
- 如果 TiDB 集群部署在自己管理的 Cloud,TLS 证书的签发需要与云服务商的证书管理服务集成,TiDB、PD、TiKV、TiFlash、TiCDC 组件的 TLS 证书支持自动轮换,无需重启 TiDB 集群。
228+
=======
229+
230+
- TiProxy 每小时会从磁盘重新加载一次证书。
231+
232+
- 如果 TiDB 集群部署在自己管理的 Cloud,TLS 证书的签发需要与云服务商的证书管理服务集成,TiDB、PD、TiKV、TiFlash、TiCDC、TiProxy 组件的 TLS 证书支持自动轮换,无需重启 TiDB 集群。
233+
>>>>>>> 173f948c50 (tiproxy: add note about reloading certificates once an hour (#21171))
227234

228235
## 证书有效期
229236

tiproxy/tiproxy-configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ server_configs:
215215

216216
### security
217217

218+
> **注意:**
219+
>
220+
> TiProxy 每小时会从磁盘重新加载一次证书。因此,磁盘上证书文件的变更最多可能需要一小时才能生效。
221+
218222
在 `[security]` 部分有四个名称不同的 TLS 对象,它们共享相同的配置格式和字段,但是不同名称对象的字段解释可能不同。
219223

220224
```toml

0 commit comments

Comments
 (0)