How to fix this error (provider: SSL Provider...)

BenTam 1,761 Reputation points
2023-10-17T05:57:32.8133333+00:00

Dear All,

How to fix this error:

provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.

Code

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,425 questions
{count} votes

Accepted answer
  1. Olaf Helper 46,551 Reputation points
    2023-10-17T06:07:36.0733333+00:00

    Current data provider uses by default an encryted connection, which only work if you have setup a certificate for SQL Server connections.

    Add "Encrypt=False;" to your connection string.


0 additional answers

Sort by: Most helpful

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.