Skip to content

Support sslmode=verify-full for SQL Server #446

Description

@tsiakoulias

Problem

DBHub 1.4.0 supports disable and require for SQL Server.

require enables TLS but does not verify the server certificate. There is no supported mode that enables TLS with certificate and hostname verification.

Proposed change

Support sslmode=verify-full in SQL Server DSNs and TOML configuration.

Use these driver options:

  • encrypt: true
  • trustServerCertificate: false

Keep the current default and the behavior of disable and require.

Related pull request

I opened #443 before creating this issue. The PR adds this support and two unit tests.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions