tiberius icon indicating copy to clipboard operation
tiberius copied to clipboard

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

Open shajia-deshaw opened this issue 1 year ago • 0 comments

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.

shajia-deshaw avatar Apr 28 '24 18:04 shajia-deshaw