Modern SQL connectivity often requires the connection to be encrypted, but the login dialog doesn't provide a way to specify that. There are two features needed:
1. Whether or not the connection must be encrypted,
2. Whether or not the SQL server's certificate should be trusted if the connection is encrypted.