Connection settings
Encryption
Every connection to SQL Server is encrypted. Use strict encryption picks the protocol:- Off (default) - TDS 7.x, which negotiates TLS inside the SQL Server login and supports TLS 1.2 at most. Major doesn’t verify the server’s certificate in this mode, so it works with SQL Server’s default self-signed certificate. This works with every supported SQL Server version.
- On - TDS 8.0, which starts TLS before anything else is sent. This is the only mode that can use TLS 1.3. Major verifies the server’s certificate and its hostname. Strict encryption requires SQL Server 2022 or later on Windows, SQL Server 2025 or later on Linux, or Azure SQL.
- Make sure the server presents a certificate whose name matches the Host you connect with.
- Check Use strict encryption (TDS 8.0).
- If the certificate is signed by a private CA or is self-signed, upload that CA’s certificate (or the self-signed certificate) as CA certificate. A certificate from a publicly trusted CA, such as Azure SQL’s, needs nothing here.
Post-quantum TLS
Major offers hybrid post-quantum key exchange (X25519MLKEM768) on every TLS 1.3 connection. It protects the connection against traffic recorded today being decrypted later by a quantum computer. If the server doesn’t support it, the connection uses classical key exchange (X25519 or P-256). For SQL Server, TLS 1.3 needs strict encryption, so post-quantum key exchange is only possible in strict mode. Whether it’s used then depends on the server:
Without strict encryption, connections use TLS 1.2 and classical key exchange, whatever the server supports.