ποΈππ«π New Certificate and Encryption Defaults in dbatools 2.0 ππ«πποΈ #8855
potatoqualitee
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hear ye, hear ye, dbatools 2.0 will be released soon and, unless you encrypt your SQL Server connections, you'll need to make some changes.
Microsoft's SQL Server connection libraries have new defaults so we do too. These library changes also impact the SqlServer module and Azure Data Studio (tho not SSMS yet it seems).
These changes will cause one or more of the following errors when connecting to unencrypted SQL Servers with dbatools 2.0:
To learn how to encrypt your SQL Server connections, check out @ACALVETT's post, Configuring network encryption for SQL Server This is the best way to handle the new changes because these changes will eventually impact all SQL Server-related applications.
I also wrote a blog post, New Encryption and Certificate Defaults in Microsoft's SQL Server Connection Provider, that shows less secure ways to manage these changes.
The blog post also covers a new command I recently created called
Set-DbatoolsInsecureConnection
to help address these issues. I'll be using this often in my CI/CD scenarios.Beta Was this translation helpful? Give feedback.
All reactions