<?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 Databricks &amp;lt;-&amp;gt; Kafka - SSL handshake failed in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-lt-gt-kafka-ssl-handshake-failed/m-p/21938#M14994</link>
    <description>&lt;P&gt;I am receiving SSL handshake error even though the trust-store I have created is based on server certificate and the fingerprint in the certificate matches the trust-store fingerprint.&lt;/P&gt;&lt;P&gt;kafkashaded.org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed Caused by: java.security.cert.CertPathValidatorException: signature check failed Caused by: java.security.SignatureException: Signature does not match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;df = spark.readStream \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.format("kafka") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.bootstrap.servers","XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.security.protocol", "SSL") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.truststore.location",'/dbfs/dbfs/FileStore/Certs/client.truststore1der.jks' ) &lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.keystore.location", '/dbfs/dbfs/FileStore/Certs/client.keystore.jks') \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.keystore.password", keystore_pass) \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.truststore.password", truststore_pass) \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.keystore.type", "JKS") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.truststore.type", "JKS") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.endpoint.identification.algorithm","") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("subscribe","bets")&amp;nbsp;&amp;nbsp;&amp;nbsp;\&lt;/P&gt;&lt;P&gt;&amp;nbsp;.load()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 17:36:53 GMT</pubDate>
    <dc:creator>Jayanth746</dc:creator>
    <dc:date>2022-11-17T17:36:53Z</dc:date>
    <item>
      <title>Databricks &lt;-&gt; Kafka - SSL handshake failed</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-lt-gt-kafka-ssl-handshake-failed/m-p/21938#M14994</link>
      <description>&lt;P&gt;I am receiving SSL handshake error even though the trust-store I have created is based on server certificate and the fingerprint in the certificate matches the trust-store fingerprint.&lt;/P&gt;&lt;P&gt;kafkashaded.org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed Caused by: java.security.cert.CertPathValidatorException: signature check failed Caused by: java.security.SignatureException: Signature does not match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;df = spark.readStream \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.format("kafka") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.bootstrap.servers","XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.security.protocol", "SSL") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.truststore.location",'/dbfs/dbfs/FileStore/Certs/client.truststore1der.jks' ) &lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.keystore.location", '/dbfs/dbfs/FileStore/Certs/client.keystore.jks') \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.keystore.password", keystore_pass) \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.truststore.password", truststore_pass) \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.keystore.type", "JKS") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.truststore.type", "JKS") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("kafka.ssl.endpoint.identification.algorithm","") \&lt;/P&gt;&lt;P&gt;&amp;nbsp;.option("subscribe","bets")&amp;nbsp;&amp;nbsp;&amp;nbsp;\&lt;/P&gt;&lt;P&gt;&amp;nbsp;.load()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 17:36:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-lt-gt-kafka-ssl-handshake-failed/m-p/21938#M14994</guid>
      <dc:creator>Jayanth746</dc:creator>
      <dc:date>2022-11-17T17:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks &lt;-&gt; Kafka - SSL handshake failed</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-lt-gt-kafka-ssl-handshake-failed/m-p/21940#M14996</link>
      <description>&lt;P&gt;Hi @Debayan Mukherjee​&amp;nbsp;, I have already specified the option &amp;nbsp;.option("kafka.ssl.endpoint.identification.algorithm","") \.&lt;/P&gt;&lt;P&gt;My error is specific to signature not matching&lt;/P&gt;&lt;P&gt;java.security.SignatureException: Signature does not match.&lt;/P&gt;&lt;P&gt;The 2nd link is not working &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1171iB25BD209267A4F9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 09:09:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-lt-gt-kafka-ssl-handshake-failed/m-p/21940#M14996</guid>
      <dc:creator>Jayanth746</dc:creator>
      <dc:date>2022-11-18T09:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks &lt;-&gt; Kafka - SSL handshake failed</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-lt-gt-kafka-ssl-handshake-failed/m-p/21939#M14995</link>
      <description>&lt;P&gt;Hi @Jayanth Goulla​&amp;nbsp;, worth a try ,&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/54903381/kafka-failed-authentication-due-to-ssl-handshake-failed" target="test_blank"&gt;https://stackoverflow.com/questions/54903381/kafka-failed-authentication-due-to-ssl-handshake-failed&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you follow: &lt;A href="https://docs.microsoft.com/en-us/azure/databricks/spark/latest/structured-streaming/kafka" alt="https://docs.microsoft.com/en-us/azure/databricks/spark/latest/structured-streaming/kafka" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/databricks/spark/latest/structured-streaming/kafka&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 07:18:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-lt-gt-kafka-ssl-handshake-failed/m-p/21939#M14995</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-11-18T07:18:44Z</dc:date>
    </item>
  </channel>
</rss>

