<?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: How to get Nifi invokehttp SSL works in apache nifi nodes? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-Nifi-invokehttp-SSL-works-in-apache-nifi-nodes/m-p/186926#M149028</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I had the same issue and after i created the &lt;STRONG&gt;SSLContextService, &lt;/STRONG&gt;i had to change the property in the InvokeHttp "Always Output Response" to true and this will give you an output, in the output look for the &lt;STRONG&gt;invokehttp.remote.dn,&lt;/STRONG&gt; since is a 403 error "Forbidden" it means that the dn does not have access to make this request but your &lt;B&gt;SSLContextService&lt;/B&gt; is working.&lt;/P&gt;&lt;P&gt; Next step is to add the Identity that will make the https request(&lt;B&gt;invokehttp.remote.dn&lt;/B&gt;) in NiFi User UI and run again the InvokeHTTP.&lt;/P&gt;&lt;P&gt;Hope this helps &lt;/P&gt;</description>
    <pubDate>Fri, 26 Oct 2018 08:03:02 GMT</pubDate>
    <dc:creator>opreaadrian1</dc:creator>
    <dc:date>2018-10-26T08:03:02Z</dc:date>
    <item>
      <title>How to get Nifi invokehttp SSL works in apache nifi nodes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-Nifi-invokehttp-SSL-works-in-apache-nifi-nodes/m-p/186924#M149026</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt; I have 3 NiFi nodes (non ambari manage cluster) and each of the nodes have their own certificate. I would like to build this flow &lt;A href="https://community.hortonworks.com/articles/83610/nifi-rest-api-flowfile-count-monitoring.html" rel="nofollow noopener noreferrer" target="_blank"&gt;rest-api-flow&lt;/A&gt; on my secured NiFi Cluster. So I referred to this &lt;A href="https://community.hortonworks.com/questions/63021/nifi-listenhttp-ssl.html" rel="nofollow noopener noreferrer" target="_blank"&gt;article&lt;/A&gt; and updated the same password &amp;amp; name on each of the nodes.&lt;/P&gt;&lt;P&gt;Originally I have...&lt;BR /&gt;node1.jks, password=node1&lt;BR /&gt;node2.jks, password=node2&lt;BR /&gt;node3.jks, password=node3&lt;/P&gt;&lt;P&gt;Then renamed each of them as shared_keystore.jks with the same password 'changeit' based on this &lt;A href="https://community.hortonworks.com/questions/63021/nifi-listenhttp-ssl.html" rel="nofollow noopener noreferrer" target="_blank"&gt;article&lt;/A&gt;. So now I have the same name of shared_keystore.jks with password=changeit where generated with the following command:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;On node1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;keytool -storepasswd -new changeit -keystore node1.jks&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;keytool -keypasswd  -alias [Alias name forprivate key]-keystore node1.jks&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;cp node1.jks shared_keystore.jks&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;On node2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;keytool -storepasswd -new changeit -keystore node2.jks&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;keytool -keypasswd -alias [Alias name forprivate key]-keystore node2.jks&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;cp node1.jks shared_keystore.jks&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;On node3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;keytool -storepasswd -new changeit -keystore node3.jks&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;keytool -keypasswd -alias [Alias name forprivate key]-keystore node3.jks&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;cp node1.jks shared_keystore.jks&lt;/P&gt;&lt;P&gt;Then I set SSLContextService as &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/79382-sslcontextservice.jpg" target="_blank"&gt;sslcontextservice.jpg&lt;/A&gt; but I still got the error as &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/79383-sslcontextservice2.jpg" target="_blank"&gt;sslcontextservice2.jpg&lt;/A&gt; &lt;/P&gt;&lt;P&gt;May I know any better suggestion on this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="79383-sslcontextservice2.jpg" style="width: 720px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18771i0B7DCC2F5A9A84F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="79383-sslcontextservice2.jpg" alt="79383-sslcontextservice2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="79382-sslcontextservice.jpg" style="width: 791px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18772iF8007E3ED77778E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="79382-sslcontextservice.jpg" alt="79382-sslcontextservice.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:08:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-Nifi-invokehttp-SSL-works-in-apache-nifi-nodes/m-p/186924#M149026</guid>
      <dc:creator>yimsiokek</dc:creator>
      <dc:date>2019-08-18T08:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nifi invokehttp SSL works in apache nifi nodes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-Nifi-invokehttp-SSL-works-in-apache-nifi-nodes/m-p/186925#M149027</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/525/mclarke.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt;&lt;P&gt; do you have any suggestion? Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 19:10:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-Nifi-invokehttp-SSL-works-in-apache-nifi-nodes/m-p/186925#M149027</guid>
      <dc:creator>yimsiokek</dc:creator>
      <dc:date>2018-07-03T19:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nifi invokehttp SSL works in apache nifi nodes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-Nifi-invokehttp-SSL-works-in-apache-nifi-nodes/m-p/186926#M149028</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I had the same issue and after i created the &lt;STRONG&gt;SSLContextService, &lt;/STRONG&gt;i had to change the property in the InvokeHttp "Always Output Response" to true and this will give you an output, in the output look for the &lt;STRONG&gt;invokehttp.remote.dn,&lt;/STRONG&gt; since is a 403 error "Forbidden" it means that the dn does not have access to make this request but your &lt;B&gt;SSLContextService&lt;/B&gt; is working.&lt;/P&gt;&lt;P&gt; Next step is to add the Identity that will make the https request(&lt;B&gt;invokehttp.remote.dn&lt;/B&gt;) in NiFi User UI and run again the InvokeHTTP.&lt;/P&gt;&lt;P&gt;Hope this helps &lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 08:03:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-Nifi-invokehttp-SSL-works-in-apache-nifi-nodes/m-p/186926#M149028</guid>
      <dc:creator>opreaadrian1</dc:creator>
      <dc:date>2018-10-26T08:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Nifi invokehttp SSL works in apache nifi nodes?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-Nifi-invokehttp-SSL-works-in-apache-nifi-nodes/m-p/186927#M149029</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12029/opreaadrian1.html"&gt;@Adrian Oprea&lt;/A&gt; Thanks for your answer. I fixed the issue already. My post above was using the same naming of xx.jks file in the share drive and not suppose in this way. I just placed each of the host's jks on local drive (node1.jks, node2.jks, node3.jks) and set 'StandardRestrictedSSLContextService' with one of them. So I used node1.jks. Worry about other nodes not recognize? No worried, nifi site to site will handle this and it worked fine for me.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 09:06:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-Nifi-invokehttp-SSL-works-in-apache-nifi-nodes/m-p/186927#M149029</guid>
      <dc:creator>yimsiokek</dc:creator>
      <dc:date>2018-10-26T09:06:45Z</dc:date>
    </item>
  </channel>
</rss>

