If you are using a self-signed certificate and the Force Encryption setting on the server to ensure clients connect with encryption, you will need to do one of the following (in order of recommendation):
#MICROSOT ODBC DRIVER 11 FOR SQL SERVER INSTALL#
Install a trusted certificate on your server.The action item if you are affected by the Encrypt change is to either (in order of recommendation): This allowed servers using self-signed certificates and Force Protocol Encryption to encrypt their client connections without requiring clients to change their default settings. Previously, if Encrypt was set to no, certificates wouldn't be validated regardless of what TrustServerCertificate was set to. We also changed the behavior of TrustServerCertificate to not be tied to the Encrypt setting. We realize this will cause some disruption, but letting clients try to connect without encryption by default leaves them open to attack from malicious actors. (New encrypt values "mandatory" and "optional", synonymous with "yes" and "no", respectively, have been added to better describe encryption behavior.) With the increased emphasis on secure-by-default, the growing use of cloud databases, and the need to ensure connections are secure, it's time for this backwards-compatibility-breaking change. Similar to the HTTP to HTTPS default changes made in web browsers a few years back (and the security reasons for them), we are changing the default value of the `Encrypt` connection option from `no` to `yes`/`mandatory`. There a couple breaking changes in 18.0 over previous releases that may affect a lot of users. Fixed an issue with federated authentication when using PingFed.īreaking Changes Encrypt = true, by default.Fixed loss of Azure Active Directory authentication mode when reconnecting an idle connection.Fixed use of XADTC with Azure SQL Managed Instance.Fixed issue with Active Directory Interactive login where attempting to login after closing the window of the first failure would automatically succeed if cached credentials were available.Fixed UI issues where text was cut off and position of items was off.BREAKING CHANGE - Changed certificate validation behavior to validate when encryption is negotiated from either the client or the server side, not just the client side.BREAKING CHANGE - Default Encrypt to Yes/Mandatory.
Compatibility extensions for SQLGetData.Ability to send long types as max types.
Version 18.0 brings several changes, new features, and fixes to the driver. Version 18.0 of the Microsoft ODBC Driver 18 for SQL Server has been released.