AI agents/LLMs: Fetch /llms.txt first to access the documentation index. Remove the trailing slash and append .md to any URL to access lighter, easier-to-parse Markdown pages instead of HTML (this page is accessible at https://docs.singlestore.com/db/v8.1/connect-to-singlestore/connect-to-singlestore-using-tls-ssl.md).
Most client connections are TLS/SSL-enabled by default, even if no parameters are specified. To ensure a TLS/SSL-enabled connection, use either (or both) of the following options:
Use a client side flag, such as --ssl-mode=REQUIRED in the MySQL/SingleStore clients.
Use a user created with REQUIRE SSL, which enforces SSL on the server side.
SingleStore supports TLS 1.2 and TLS 1.3. If the client supports TLS 1.3, it negotiates the highest protocol version supported by both the client and the server. TLS 1.0 and TLS 1.1 are not supported.
Certificate-Based Authentication
The VERIFY_CA option is not required to use TLS/SSL. However, it can be used to prevent sophisticated man-in-the-middle attacks where a would-be attacker can impersonate a server when SSL is disabled or create a secure connection by impersonating a server using an illegitimate server certificate. If this is a concern, then use offline CA files in any SSL connection (not only SingleStore).