How to Use the HTTP API in TiDB with TLS Enabled

Background Many customers have TLS enabled, which is different from the lab environment. Curl Curl requires a specified CA certificate, otherwise it will report an error. curl --cacert ca.crt https://127.0.0.1:10080/status Wget Many containers do not have curl, so wget is used instead. Wget is better as it does not require a CA certificate. wget --no-check-certificate http://127.0.0.1:10080/status

May 22, 2023 · 1 min · 56 words · Jack Yu