Skip to content

Commit 9cff933

Browse files
authored
tiproxy: add note about reloading certificates once an hour (#22138)
1 parent dbc7bfe commit 9cff933

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

enable-tls-between-components.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@ After configuring TLS for communication between TiDB components, you can use the
264264

265265
## Reload certificates
266266

267-
- If your TiDB cluster is deployed in a local data center, to reload the certificates and keys, TiDB, PD, TiKV, TiFlash, TiCDC, TiProxy, and all kinds of clients reread the current certificates and key files each time a new connection is created, without restarting the TiDB cluster.
267+
- If your TiDB cluster is deployed in a local data center, to reload the certificates and keys, TiDB, PD, TiKV, TiFlash, TiCDC, and all kinds of clients reread the current certificates and key files each time a new connection is created, without restarting the TiDB cluster.
268+
269+
- TiProxy reloads certificates from disk once an hour.
268270

269271
- If your TiDB cluster is deployed on your own managed cloud, make sure that the issuance of TLS certificates is integrated with the certificate management service of the cloud provider. The TLS certificates of the TiDB, PD, TiKV, TiFlash, TiCDC, and TiProxy components can be automatically rotated without restarting the TiDB cluster.
270272

tiproxy/tiproxy-configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,10 @@ When you need to isolate computing layer resources, you can configure multiple v
221221

222222
### security
223223

224+
> **Note:**
225+
>
226+
> TiProxy reloads certificates from disk once an hour. Therefore, any changes that you make to certificate files on disk can take up to one hour to take effect.
227+
224228
There are four TLS objects in the `[security]` section with different names. They share the same configuration format and fields, but they are interpreted differently depending on their names.
225229

226230
```toml

0 commit comments

Comments
 (0)