<?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>question Re: NiFi Slack Integration issue - 1.26.0 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Slack-Integration-issue-1-26-0/m-p/389797#M247088</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110342"&gt;@Vikas-Nifi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;the following error is directly related to failure to establish certificate trust in the TLS exchange between NiFi's putSlack processor and your slack server:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target "&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The putSlack processor utilizes the StandardRestrictedSSLContextService to define keystore and truststore files the putSlack processor will use.&amp;nbsp; The truststore must contain the complete trustchain for the target slack server's serverAuth certificate.&lt;BR /&gt;&lt;BR /&gt;You can use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;openssl s_client -connect &amp;lt;companyName.slack.com&amp;gt;:443 -showcerts&lt;/LI-CODE&gt;&lt;P&gt;to get an output of all public certs included with the serverAuth cert.&lt;BR /&gt;&lt;BR /&gt;I noticed with my slack endpoint that was not the complete trust chain (root CA certificate for&amp;nbsp;&lt;SPAN&gt;ISRG Root X1 was missing from the chain).&lt;BR /&gt;&lt;BR /&gt;You can download the missing rootCA public cert directly from let's encrypt and add it to the truststore set in the StandardRestrictedSSLContextService.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://letsencrypt.org/certificates/" target="_blank"&gt;https://letsencrypt.org/certificates/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://letsencrypt.org/certs/isrgrootx1.pem" target="_blank"&gt;https://letsencrypt.org/certs/isrgrootx1.pem&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://letsencrypt.org/certs/isrg-root-x2.pem" target="_blank"&gt;https://letsencrypt.org/certs/isrg-root-x2.pem&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You might also want to make sure all intermediate CAs are also added and not just the intermediate returned by the openssl command just in case server changes that you get directed to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 14:33:19 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-07-02T14:33:19Z</dc:date>
    <item>
      <title>NiFi Slack Integration issue - 1.26.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Slack-Integration-issue-1-26-0/m-p/389627#M247023</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Getting below error while calling Slack channel from Nifi. Used putSlack Processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;"o.apache.nifi.processors.slack.PutSlack : Failed to open connection&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target "&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have added slack cert in to my truststore.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Slack-Cert.png" style="width: 323px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41056iFE62E5B6F0425619/image-dimensions/323x288?v=v2" width="323" height="288" role="button" title="Slack-Cert.png" alt="Slack-Cert.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to get it tested in local (haven't deployed in to environment server). Added the channel name and webhookURL&amp;nbsp; (which generated under "companyName.slack.com")&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="putSlack.png" style="width: 463px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41057i6CBA685EC516987E/image-dimensions/463x258?v=v2" width="463" height="258" role="button" title="putSlack.png" alt="putSlack.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there anything i need to add it in local truststore to work?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 13:23:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Slack-Integration-issue-1-26-0/m-p/389627#M247023</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-06-26T13:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Slack Integration issue - 1.26.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Slack-Integration-issue-1-26-0/m-p/389797#M247088</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110342"&gt;@Vikas-Nifi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;the following error is directly related to failure to establish certificate trust in the TLS exchange between NiFi's putSlack processor and your slack server:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target "&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;The putSlack processor utilizes the StandardRestrictedSSLContextService to define keystore and truststore files the putSlack processor will use.&amp;nbsp; The truststore must contain the complete trustchain for the target slack server's serverAuth certificate.&lt;BR /&gt;&lt;BR /&gt;You can use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;openssl s_client -connect &amp;lt;companyName.slack.com&amp;gt;:443 -showcerts&lt;/LI-CODE&gt;&lt;P&gt;to get an output of all public certs included with the serverAuth cert.&lt;BR /&gt;&lt;BR /&gt;I noticed with my slack endpoint that was not the complete trust chain (root CA certificate for&amp;nbsp;&lt;SPAN&gt;ISRG Root X1 was missing from the chain).&lt;BR /&gt;&lt;BR /&gt;You can download the missing rootCA public cert directly from let's encrypt and add it to the truststore set in the StandardRestrictedSSLContextService.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://letsencrypt.org/certificates/" target="_blank"&gt;https://letsencrypt.org/certificates/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://letsencrypt.org/certs/isrgrootx1.pem" target="_blank"&gt;https://letsencrypt.org/certs/isrgrootx1.pem&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://letsencrypt.org/certs/isrg-root-x2.pem" target="_blank"&gt;https://letsencrypt.org/certs/isrg-root-x2.pem&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You might also want to make sure all intermediate CAs are also added and not just the intermediate returned by the openssl command just in case server changes that you get directed to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 14:33:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Slack-Integration-issue-1-26-0/m-p/389797#M247088</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-07-02T14:33:19Z</dc:date>
    </item>
  </channel>
</rss>

