One of our data providers are imminently migrating their MS SQL servers and will be enforcing encrypt=Strict.
I’ve conducted tests to the new host and it fails.
I assume the SSL/TLS toggle applies encrypt=true and an encrypt property in the Connection Options section doesn’t get passed through.
What are the options to resolve this database connection on Retool Cloud? Thanks
On Retool Cloud, a Microsoft SQL Server data provider is migrating hosts and will enforce encrypt=Strict (TDS 8.0 strict encryption). Test connections to the new host fail, and there's an assumption that the Use SSL/TLS toggle only applies encrypt=true and that an encrypt key added under Connection Options isn't passed through.
AI Response
For Microsoft SQL Server resources using username/password (SQL) authentication, custom Connection options are passed through as key-value pairs — including encrypt — so adding encrypt=true there (alongside enabling Use SSL/TLS) is the documented path for encrypted connections; the restriction on passing encrypt/trustServerCertificate only applies to Windows authentication. The documented default behavior relies on TDS 7.4 and encrypt=true/mandatory-style encryption, and there is no published support for the Strict value (TDS 8.0 strict encryption), so a value of encrypt=Strict is not confirmed to be honored. The reliable, supported approach is to enable Use SSL/TLS (optionally supplying the provider's CA certificate and keeping Reject unauthorized on), and if the server still negotiates differently, confirm whether it also accepts standard mandatory encryption rather than strict-only.
The Community Team is testing out a new automation. Let us know if it's helpful (or not) by leaving a , , or . Or by marking this post as the "Solution"! Let us know if you have any feedback here.
We only use one MS SQL source so happy for the encrypt=strict to be enforced globally on MS SQL connectors in the backend of our cloud instance if that’s a viable short-term solution.
Hey @ferret141
Thanks for reporting this. Unfortunately, this is not currently possible. I have notified our engineering team, and a ticket has been opened for it. We will update you when we ship something out. Sorry for the disruption, but we will let you know when we have an update.