<?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: Importing CA certificate into a Databricks cluster in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7307#M3211</link>
    <description>&lt;P&gt;Hi @Direo Direo​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 04:59:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-28T04:59:15Z</dc:date>
    <item>
      <title>Importing CA certificate into a Databricks cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7304#M3208</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was following guide outlined here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.databricks.com/en_US/python/import-custom-ca-cert" target="test_blank"&gt;https://kb.databricks.com/en_US/python/import-custom-ca-cert&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(also tried this: &lt;A href="https://stackoverflow.com/questions/73043589/configuring-tls-ca-on-databricks)" target="test_blank"&gt;https://stackoverflow.com/questions/73043589/configuring-tls-ca-on-databricks)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to add ca root certificate into Databricks cluster, but without any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone has managed to do it and could share specifics of how it is achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 08:35:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7304#M3208</guid>
      <dc:creator>Direo</dc:creator>
      <dc:date>2023-03-22T08:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Importing CA certificate into a Databricks cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7306#M3210</link>
      <description>&lt;P&gt;@Debayan Mukherjee&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Getting "SSLError: HTTPSConnectionPool(host='host', port=443): Max retries exceeded with url: url (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;request:&lt;/P&gt;&lt;P&gt;response = requests.post(url, headers=headers, data=json_data, verify="/dbfs/path.pem")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw, with verify=False, I am able to get response.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 07:12:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7306#M3210</guid>
      <dc:creator>Direo</dc:creator>
      <dc:date>2023-03-23T07:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Importing CA certificate into a Databricks cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7307#M3211</link>
      <description>&lt;P&gt;Hi @Direo Direo​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 04:59:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7307#M3211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-28T04:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Importing CA certificate into a Databricks cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7309#M3213</link>
      <description>&lt;P&gt;In the end it turned out that I tried to add wrong certificate. To check certificate's Distinguished Name (DN) which help identify the organization that the certificate was issued to, run &lt;/P&gt;&lt;P&gt;%sh openssl s_client -connect &amp;lt;&lt;B&gt;hostname&lt;/B&gt;&amp;gt;:&amp;lt;&lt;B&gt;port&lt;/B&gt;&amp;gt;-showcerts -CAfile &amp;lt;&lt;B&gt;path to the .pem file&lt;/B&gt;&amp;gt;. Guide outlined here: &lt;A href="https://kb.databricks.com/en_US/python/import-custom-ca-cert" alt="https://kb.databricks.com/en_US/python/import-custom-ca-cert" target="_blank"&gt;https://kb.databricks.com/en_US/python/import-custom-ca-cert&lt;/A&gt; did work once I got the right certificate.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 12:10:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7309#M3213</guid>
      <dc:creator>Direo</dc:creator>
      <dc:date>2023-04-07T12:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Importing CA certificate into a Databricks cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7305#M3209</link>
      <description>&lt;P&gt;Hi, What was the error received?&lt;/P&gt;&lt;P&gt;Also, please tag @Debayan with your next update which will notify me.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 05:55:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7305#M3209</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-03-23T05:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Importing CA certificate into a Databricks cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7308#M3212</link>
      <description>&lt;P&gt;Hi Direo, Thanks for the confirmation, SSL verify=false can be a good option to try with in this case as a workaround. &lt;/P&gt;&lt;P&gt;(Spark config:&lt;/P&gt;&lt;P&gt;spark.databricks.pip.ignoreSSL true)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 07:18:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/7308#M3212</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-04-03T07:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Importing CA certificate into a Databricks cluster</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/118794#M45714</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/26078"&gt;@Debayan&lt;/a&gt;&amp;nbsp;One question - Will same approach work for JKS file containing private key certificate for X.509 authentication to Mongo Atlas database.&lt;/P&gt;&lt;P&gt;Usual way of adding below spark config's is not working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spark.driver.extraJavaOptions -Djavax.net.ssl.keyStore=/tmp/keystore.jks -Djavax.net.ssl.keyStorePassword=&amp;lt;pass&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;spark.executor.extraJavaOptions -Djavax.net.ssl.keyStore=/tmp/keystore.jks -Djavax.net.ssl.keyStorePassword=&amp;lt;pass&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have created following discussion -&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/issues-when-adding-keystore-spark-config-for-pyspark-to-mongo/td-p/118774" target="_blank" rel="noopener"&gt;https://community.databricks.com/t5/data-engineering/issues-when-adding-keystore-spark-config-for-pyspark-to-mongo/td-p/118774&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Error in cluster logs -&amp;nbsp;Caused by: java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=mdb7sywh50xhpr.chkweekm4xjq.us-east-1.rds.amazonaws.com)(port=3306)(type=master) : readHandshakeRecord&lt;/P&gt;&lt;P&gt;25/05/10 14:19:06 WARN HiveClientImpl: HiveClient got thrift or connection reset exception, destroying client and retrying (13 tries remaining)&lt;/P&gt;&lt;P&gt;It is continuously showing above error and I can't execute any command on the cluster.&lt;/P&gt;</description>
      <pubDate>Sun, 11 May 2025 16:35:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-ca-certificate-into-a-databricks-cluster/m-p/118794#M45714</guid>
      <dc:creator>jash281098</dc:creator>
      <dc:date>2025-05-11T16:35:39Z</dc:date>
    </item>
  </channel>
</rss>

