We have updated our Terms of Service, Code of Conduct, and Addendum.

Trying to create a sql server db connection, but got a self signed certificate error

Options
Tae Ha
Tae Ha Posts: 3
edited July 2023 in Stream

hello, i’m trying to create a sql server db connection, but got a self signed certificate error. Is there an option that I can use to bypass this issue?  I’m using the following format from the documentation: Server=localhost; Database=test;User Id=SA; Password=Testing123![; Option=Value]

Original Author: Tae Ha
Link: https://cribl-community.slack.com/archives/CPYBPK65V/p1690207040810899?thread_ts=1690207040.810899&cid=CPYBPK65V

Tagged:

Best Answer

  • Tomer Shvueli
    Tomer Shvueli Posts: 17 mod
    Answer ✓
    Options

    Did you try adding TrustServerCertificate=True to the end of the connection string?

Answers

  • Tomer Shvueli
    Tomer Shvueli Posts: 17 mod
    Answer ✓
    Options

    Did you try adding TrustServerCertificate=True to the end of the connection string?

  • Tae Ha
    Tae Ha Posts: 3
    Options

    Yes, I got pass the cert error, but working out other permission issues right now.  Thanks all!