Skip to content

[Question] Is there a way to set the HostNameInCertificate property? #340

@shajia-deshaw

Description

@shajia-deshaw

JDBC string has a way to set this: Ref: https://learn.microsoft.com/en-us/sql/connect/jdbc/setting-the-connection-properties?view=sql-server-ver16#:~:text=as%20authenticationScheme.-,hostNameInCertificate,-String%0A%0Anull

It doesn't seem to be present for this library though - could you confirm this though?
Currently, I had to bypass this by setting config.trust_server() or trusting the server certificate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions