Getting "Error: Server requires encryption, set 'encrypt' config option to true."

I can connect using the same parameters in Azure Data Studio 2, and I added a connection option of "encrypt" to be "true"

I've added the four Retool IP address ranges to our firewall.

But I get the error in the subject line above.

This may have overlap with where users have seen this issue using Microsoft SQL directly (Problems with SQL Server connection. Server requires encryption), rather than through an Azure SQL Managed instance. In these cases, enabling the "Use SSL/TLS" checkbox on the resource setup page has often helped!