Connect to SingleStore using TLS/SSL
On this page
Most client connections are TLS/SSL by default, even if no parameters are specified.
The options available that ensure a TLS/SSL connection are:
-
Using the client side flag, such as
--ssl-mode=REQUIREDin MySQL/Singlestore clients. -
Using a user created with
REQUIRE SSL(enforces on the server side).
The VERIFY_ option is not required to use TLS/SSL.
Refer to SSL Secure Connections for more information.
Refer to The SingleStore JDBC Driver for details on how to connect using JDBC.
Using the Certificates
When connecting to SingleStore with mTLS, specify the client certificate and key.
mysql -u user \
--ssl-ca=/path/to/ca.pem \
--tls-version=TLSv1.2 \
--ssl-cert=/path/to/client-cert.pem \
--ssl-key=/path/to/client-key.pemLast modified: October 30, 2025