tiberius
tiberius copied to clipboard
[Question] Is there a way to set the `HostNameInCertificate` property?
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.