TLS and certificate errors
A TLS failure means that encryption setup or certificate verification did not complete for the selected database endpoint.
Symptoms
Section titled “Symptoms”MySQL can report these configuration errors:
SSL mode verify-full requires a DNS hostname. IP addresses cannot be used for SNI/hostname verification.Client certificate and key must both be providedOther TLS errors can identify an untrusted certificate, an incorrect hostname, or an unreadable certificate file.
Quick checks for TLS and certificate errors
Section titled “Quick checks for TLS and certificate errors”- Match SSL Mode to the server owner’s requirements.
- Compare Host with the DNS endpoint supplied for that database.
- Check that each selected certificate belongs to this server or client account.
- Select moved or inaccessible files again through the connection form.
Keep certificate verification enabled while you correct the cause. Disabling it can expose the connection to an impersonated server.
The server certificate is not trusted
Section titled “The server certificate is not trusted”Obtain the CA certificate from the database service or administrator. Select it in Root CA when the connection requires a private CA.
A root CA establishes trust in the server certificate. A client certificate identifies your account to the server; it does not replace the CA.
For a local server or Docker, check which CA signed the server certificate. For a cloud service, obtain its current CA instructions through your account. For a company server, ask the administrator to verify the certificate chain.
The hostname does not match
Section titled “The hostname does not match”Use the DNS name covered by the server certificate. In MySQL Verify Full, an IP address is rejected before connection.
Check that you have not mixed a pooler hostname with a direct connection’s port or certificate. Ask the server owner to correct the certificate if the required endpoint is absent from it.
Client authentication is incomplete
Section titled “Client authentication is incomplete”If the server requires a client certificate, select both Client Cert and its matching Client Key. MySQL rejects a configuration with only one of them.
Use the file selectors to grant TableAI access to these files. Ask the certificate owner to check an invalid or expired pair. Never share the private key in a support request.
The endpoint has different TLS requirements
Section titled “The endpoint has different TLS requirements”Confirm that the port belongs to the intended database service. An SSH tunnel does not replace the database’s TLS configuration.
Read SSL/TLS setup for the available settings. Database guides cover PostgreSQL, MySQL, and SQL Server.
Still stuck
Section titled “Still stuck”Keep the exact TLS error and the selected mode for your support report. For a timeout without a certificate error, use connection failed.