<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connect in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/56310#M30513</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/4668"&gt;@Kazer&lt;/a&gt; ,&lt;BR /&gt;Even if I use a new table name, I get the same error. Do you have any suggestions?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2024 16:53:22 GMT</pubDate>
    <dc:creator>databricks26</dc:creator>
    <dc:date>2024-01-02T16:53:22Z</dc:date>
    <item>
      <title>com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption.</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/10496#M5666</link>
      <description>&lt;P&gt;Hi. I am trying to read from our Microsoft SQL Server from Azure Databricks via spark.read.jdbc() as described here: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/external-data/jdbc" alt="https://learn.microsoft.com/en-us/azure/databricks/external-data/jdbc" target="_blank"&gt;Query databases using JDBC - Azure Databricks | Microsoft Learn&lt;/A&gt;. The SQL Server is on an Azure VM in a virtual network peered with the virtual network of the azure databricks workspace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reading/writing used to work without problems. Last week, I started to get the error message when manually triggering the function in a notebook:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;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 certification path to requested target".&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The weird thing is: In my automated databricks workflow I also use read/write operations. The first read and write operation work as usual, but the second read operation is stuck without throwing an error. If I don't manually cancel the run, the function will just be stuck for hours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be glad if sombody could give me a hint at what the problem could be? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 09:47:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/10496#M5666</guid>
      <dc:creator>Kazer</dc:creator>
      <dc:date>2023-01-30T09:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption.</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/10497#M5667</link>
      <description>&lt;P&gt;Solved. The problem was that some of the tables I tried to access were blocked by a transaction in a stuck stored procedure. So this was an SQL Server side problem specific for the tables I tried to access and had nothing to do with Azure/Databricks.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 07:43:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/10497#M5667</guid>
      <dc:creator>Kazer</dc:creator>
      <dc:date>2023-02-01T07:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connect</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/56310#M30513</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/4668"&gt;@Kazer&lt;/a&gt; ,&lt;BR /&gt;Even if I use a new table name, I get the same error. Do you have any suggestions?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 16:53:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/56310#M30513</guid>
      <dc:creator>databricks26</dc:creator>
      <dc:date>2024-01-02T16:53:22Z</dc:date>
    </item>
  </channel>
</rss>

