You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating to newer versions of mssql-jdbc, when connecting to mssql it throws:
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certificationpath to requested target".
The newer versions require a certificate for connection or a setting to trust any cert...needs investigation.
When updating to newer versions of mssql-jdbc, when connecting to mssql it throws:
The newer versions require a certificate for connection or a setting to trust any cert...needs investigation.
For starters: https://learn.microsoft.com/en-us/sql/connect/jdbc/connecting-with-ssl-encryption?view=sql-server-ver16#configuring-the-connection
The text was updated successfully, but these errors were encountered: