Hi,
Make sure that you are enforcing sslProtocol=TLSv1.2;
in the database connection string.
Check this thread for another discussion on the subject:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are inserting data into a table in Azure SQL DB from Azure Databricks. On that function, we have applied @retry in order to retry execution after waiting for some time in case of any exception. This function sometimes fails and gives an exception given below:
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Unexpected rethrowing".
It's an intermittent issue. Can anyone please let me know the cause of it and what can be the possible solution?
Hi,
Make sure that you are enforcing sslProtocol=TLSv1.2;
in the database connection string.
Check this thread for another discussion on the subject: