/
Bypassing Certificate Chain error in SSMS

Bypassing Certificate Chain error in SSMS

In this guide, we will attempt to bypass the error shown when trying to connect to Microsoft SQL Server using SQL Server Management Studio (SSMS) v19.


Symptoms

When connecting to Microsoft SQL Server using SSMS version 19.0.0 and above, the following error shows up:

Cannot connect to COMPUTER-NAME.

Additional Information:

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) (Microsoft SQL Server)

The certificate chain was issued by an authority that is not trusted


Solution

Click on Options >>, the Connect to Server menu will be expanded. Click on the Connection Properties tab. The following is what you will see:

There are two solutions available:

  • Uncheck Encrypt connection

  • Check Trust server certificate

After performing either one of the step above, click Connect. You will connect to the SQL Server successfully.

 

Related content

SQL Server 2019 Developer + SSMS Installation Guide
SQL Server 2019 Developer + SSMS Installation Guide
More like this
How to clear the cache and cookies in a web browser?
How to clear the cache and cookies in a web browser?
Read with this
Installation Guideline for Microsoft SQL Server Developer + SSMS Windows 11
Installation Guideline for Microsoft SQL Server Developer + SSMS Windows 11
More like this
How to activate Azure for students starter?
How to activate Azure for students starter?
Read with this
Fixing issue installing MSSQL in some Windows 11 devices
Fixing issue installing MSSQL in some Windows 11 devices
More like this
APFace
Read with this

Copyright © Asia Pacific University. All Rights Reserved.