Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

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

Munnam Yousuf answered on May 20, 2023 Popularity 10/10 Helpfulness 8/10

Contents


More Related Answers

  • provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.
  • git clone the certificate chain was issued by an authority that is not trusted
  • SSL certificate problem: self signed certificate in certificate chain
  • Error: self-signed certificate in certificate chain

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

    2

    Solution 1: Use Microsoft OLE DB Driver for SQL Server 18.x. You can download the driver from Release notes for the Microsoft OLE DB Driver for SQL Server.

    Solution 2: If the application connection string property already specifies a value of Yes or Mandatory for the Encrypt/Use Encryption for Data setting, change the value to No or Optional. For example, Use Encryption for Data=Optional. If the connection string doesn't specify any value for Encrypt/Use Encryption for Data, add Use Encryption for Data=Optional to the connection string. For more information, see Encryption and certificate validation.

    Solution 3: Add ;TrustServerCertificate=true to the connection string. This will force the client to trust the certificate without validation.

    https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/connect/certificate-chain-not-trusted?tabs=ole-db-driver-19

    https://learn.microsoft.com/en-us/sql/connect/oledb/release-notes-for-oledb-driver-for-sql-server?view=sql-server-ver16

    Popularity 10/10 Helpfulness 8/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 20 2023
    Munnam Yousuf
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.