Technical Anshu
Tutorials Blog
🔐 SQL Server Fix

SQL Server Login Error Started Suddenly After an SSMS or Driver Update

The server was not touched. Nobody changed a password. Yet this morning the login fails with a certificate error. This pattern has one usual cause: the tool or driver on the client side was updated, and the new version demands verified encryption by default. Here is what changed and what to do about it.

✍️ Technical Anshu🔐 SQL Server • SSMS 20 and drivers
🎥 The one click fix for this exact post-update failure is in the video

Sudden failures invite panic fixes - reinstalls, password resets, firewall changes. Stop and check the calendar instead: did SSMS, an app, or a driver update land just before the failure? In case after case, that is the whole story. Microsoft tightened the defaults because silent acceptance of unverified certificates is a genuine weakness, and every SQL shop is meeting the consequence at upgrade time.

Release notes, in plain words
SSMS 19 and older encryption default: Optional SSMS 20 and newer encryption default: Mandatory Microsoft.Data.SqlClient 5.1+ Encrypt default: True ODBC Driver 18 Encrypt default: Yes
The defaults that flipped in recent tool and driver versions. Your server did not change - the rulebook on the client did.
1

Nothing Broke - the Defaults Changed

Here is the part nobody believes at first: in the newest tools, encryption stopped being optional. SSMS 20 changed its connection default from Optional to Mandatory. Microsoft's current data driver, Microsoft.Data.SqlClient from version 5.1, defaults its Encrypt setting to True. The ODBC Driver 18 for SQL Server did the same. Install any of these and every connection suddenly demands a proper, validated, encrypted login - including connections to servers that have quietly used a self-signed certificate for years.

The old versions were not better. They connected because they silently accepted the unverified certificate. The new versions refuse it loudly. The failure is the security check finally doing its job.

2

Why Yesterday's Same Password Worked

Your password did not change and neither did the server. What changed is the question the client asks before it will even send the password. Old client: connect first, ask nothing. New client: show me a certificate my machine trusts, then we talk. The server presents the same self-signed certificate it always had, so the new client stops at the door. The login error appears during the login process precisely because the password stage is never reached.

3

Your Options, Honestly Ranked

  1. Best: install a real certificate on the server (the main guide shows how). Then every new client connects strictly, forever, with no per-PC settings
  2. Acceptable on your own LAN: set Trust server certificate on the connections that need it, knowing exactly which check you are skipping
  3. Acceptable for a planned migration: set encryption explicitly per connection (Optional in SSMS, or Encrypt=False in a string) so behaviour is a decision, not a surprise
  4. Not a fix: hunting down old SSMS versions or old drivers to avoid the message. The defaults changed across the whole ecosystem; you would be maintaining the avoidance forever, unpatched
4

Expect the Same Surprise Elsewhere

The same week this error appears in SSMS, it often appears in a billing app, a report tool or a service after a routine update, because they all ride on the same drivers. When a manager asks why three programs broke on one morning, the honest answer is: they did not break, their shared rulebook was updated, and one server-side certificate ends the whole class of problem at once.

🔴 Honest note: rolling back to the old tool version makes the message disappear by removing the check, not by fixing anything. If you must roll back to keep working today, put the server certificate on the plan for this week - the next update will bring the check back.

🎥 Watch the One Click Fix in the Video

The video applies the fast client-side fix so work can continue immediately, and this page explains the update that made it necessary.

▶️ Watch Full Video
❓ Frequently Asked Questions

Which update causes this most often?

Upgrading to SSMS 20 or later is the most common trigger. After that, applications updated to Microsoft.Data.SqlClient 5.1 or newer, and machines moved to ODBC Driver 18, whose Encrypt default also flipped to on.

Did Microsoft break my server?

No. The server is presenting the same certificate it always did. The client simply stopped accepting it silently. The underlying weakness - an unverifiable certificate - existed all along; only the warning is new.

If I set encryption back to Optional, am I unsafe?

You return to the old behaviour: the login may travel without the verified encrypted channel. On a closed office LAN many shops accept this briefly, but the better direction is a real server certificate so strict mode works as intended.

This guide is based on the Technical Anshu SQL Server fix video • Stuck on a step? Ask in the video comments — you will get a reply 🙏