Open shajia-deshaw opened 3 months ago
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.
config.trust_server()
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.