Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Sets a Boolean value that indicates if the trustServerCertificate property is enabled.
public void setTrustServerCertificate(boolean trustServerCertificate)
trustServerCertificate
true if the server Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), certificate should be automatically trusted when the communication layer is encrypted using TLS. Otherwise, false.
If the trustServerCertificate property is set to true, the SQL Server TLS/SSL certificate is automatically trusted when the communication layer is encrypted using TLS. In other words, the Microsoft JDBC Driver for SQL Server will not validate the SQL Server TLS/SSL certificate. The default value is false.
If the trustServerCertificate property is set to false, the Microsoft JDBC Driver for SQL Server will validate the server TLS/SSL certificate.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today