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

OHPRS Admin 281 Reputation points
2025-01-16T17:53:32.3866667+00:00

I just upgraded to SQL Server Management Studio 20.2, something I've done many times in the past. This time, when I ran the Studio and attempted to connect, I got the message:

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

I then checked the box "Trust Server Certificate" on the connection dialog and got the message:

A connection was successfully established with the server, but then an error occurred during the login process, (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft AQL Server, Error: 233)

As I said, I've upgraded SQL Server Management Studio frequently as I get notices. This is the first time I've had this happen. Right now, I'm dead in the water with respect to using Management Studio.

How do I fix this?

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,311 Reputation points Volunteer Moderator
    2025-01-16T18:06:55.18+00:00

    on the connection dialog, click "trust server certificate"

    0 comments No comments

  2. ZoeHui-MSFT 41,496 Reputation points
    2025-01-17T02:37:12.2866667+00:00

    Hi @OHPRS Admin,

    Please check if you have chosen the Trust server certificate.

    User's image

    If you could connect to the server successfully before, try to use SSMS v19 or v18 to see if the issue is related with SSMS20.

    Also here is a same thread, you may take a reference to hope it will be helpful.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.