<?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: Creating a SSL context Nifi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158313#M20913</link>
    <description>&lt;P&gt;Definetly not an answer but i'll leave it here : i "solved" the issue by putting the same file and password for the keystore than i had for the truststore (the ones mentionned in the questions/9509). Probably not something to do since i have absolutly no understanding of SSL but it allowed me to move forward.. I'm still interested in a real answer.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2016 01:53:46 GMT</pubDate>
    <dc:creator>lubinlemarchand</dc:creator>
    <dc:date>2016-02-26T01:53:46Z</dc:date>
    <item>
      <title>Creating a SSL context Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158312#M20912</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been trying to pull data from the facebook graph api using nifi. As i need to make a lot of request, i want to be able to post a json to &lt;A href="http://graph.facebook.com" target="_blank"&gt;http://graph.facebook.com&lt;/A&gt; as explained here &lt;A href="https://developers.facebook.com/docs/graph-api/making-multiple-requests" target="_blank"&gt;https://developers.facebook.com/docs/graph-api/making-multiple-requests&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;So i created a PostHTTP processor on NiFi but it requires a SSL context. &lt;/P&gt;&lt;P&gt;Now i found some answers thanks to &lt;A rel="user" href="https://community.cloudera.com/users/361/apiri.html" nodeid="361"&gt;@Aldrin Piri&lt;/A&gt; and his answer to &lt;A href="https://community.hortonworks.com/questions/9509/connecting-to-datasift-https-api-using-nifi.html" target="_blank"&gt;https://community.hortonworks.com/questions/9509/connecting-to-datasift-https-api-using-nifi.html&lt;/A&gt; but i still don't know how to fill the fields "Keystore Filename" and "Keystore Password".&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:35:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158312#M20912</guid>
      <dc:creator>lubinlemarchand</dc:creator>
      <dc:date>2016-02-25T17:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SSL context Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158313#M20913</link>
      <description>&lt;P&gt;Definetly not an answer but i'll leave it here : i "solved" the issue by putting the same file and password for the keystore than i had for the truststore (the ones mentionned in the questions/9509). Probably not something to do since i have absolutly no understanding of SSL but it allowed me to move forward.. I'm still interested in a real answer.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 01:53:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158313#M20913</guid>
      <dc:creator>lubinlemarchand</dc:creator>
      <dc:date>2016-02-26T01:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SSL context Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158314#M20914</link>
      <description>&lt;P&gt;
	Hi 
	&lt;A rel="user" href="https://community.cloudera.com/users/2855/lubinlemarchand.html" nodeid="2855"&gt;@Lubin Lemarchand&lt;/A&gt;,
&lt;/P&gt;
The &lt;CODE&gt;keystore&lt;/CODE&gt; is a protected container which holds the private keys and certificates used to identify your service (in this case NiFi) during TLS (nee SSL) communications. According to 
&lt;A target="_blank" href="https://developers.facebook.com/docs/graph-api/securing-requests"&gt;Graph API - Securing Requests&lt;/A&gt;, it does not appear that Facebook requires (or even provides for) you to send a client certificate to authenticate your requests. Rather, they rely on an access token in the request. Because of this, you do not need a keystore file &lt;EM&gt;for this &lt;CODE&gt;SSLContext&lt;/CODE&gt;&lt;/EM&gt;. Please note that if you wish NiFi's web interface and API to be protected by TLS, you will still need a keystore file with a &lt;CODE&gt;privateKeyEntry&lt;/CODE&gt; in order to do that, but it is a separate issue.
&lt;P&gt;
	You will need to add the Facebook certificate (or the CA that signed it) into your truststore, in order to allow NiFi (acting as the client) to verify the server's presented certificate.
&lt;/P&gt;
&lt;P&gt;
	I hope this answers your question. Please let me know if it is still unclear.
&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 02:52:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158314#M20914</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-02-26T02:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SSL context Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158315#M20915</link>
      <description>&lt;P&gt;
This does not have a negative side effect, as there should be no sensitive keys in your
&lt;CODE&gt;truststore &lt;/CODE&gt;
&lt;/P&gt;&lt;P&gt;
This does not have a negative side effect, as there should be no sensitive keys in your &lt;CODE&gt;truststore&lt;/CODE&gt;. However, if you tried to use this &lt;CODE&gt;PostHTTP&lt;/CODE&gt; processor to connect to a site that did require TLS mutual auth (presenting a client certificate), you would want to ensure that the &lt;CODE&gt;keystore&lt;/CODE&gt; and &lt;CODE&gt;truststore&lt;/CODE&gt; files were different and the &lt;CODE&gt;truststore&lt;/CODE&gt; did not contain the &lt;CODE&gt;privateKeyEntry&lt;/CODE&gt; used in the &lt;CODE&gt;keystore&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 02:59:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158315#M20915</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-02-26T02:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SSL context Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158316#M20916</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/595/alopresto.html" nodeid="595"&gt;@Andy LoPresto&lt;/A&gt; Thank you for your answer, one question to be sure : if i don't pay too much attention to security,  can i use the graph api without adding the Facebook CA into my trustore?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 17:00:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158316#M20916</guid>
      <dc:creator>lubinlemarchand</dc:creator>
      <dc:date>2016-02-26T17:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SSL context Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158317#M20917</link>
      <description>&lt;P&gt;I'm not sure why you would want to ignore this. Facebook's servers present a certificate to allow you to verify that the resource you are communicating with is, in fact, Facebook and not an imposter. This also allows encryption of all content in transit between your server and Facebook's. &lt;/P&gt;&lt;P&gt;If you honestly do not care about the protection of your data (and again, I would urge you to, especially considering you are communicating with Facebook, and therefore probably accessing personal information for customers/users), you can use the plain HTTP endpoint provided at &lt;A href="http://graph.facebook.com"&gt;http://graph.facebook.com&lt;/A&gt; and you won't need a truststore at all. &lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 02:18:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158317#M20917</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-02-27T02:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SSL context Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158318#M20918</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/595/alopresto.html" nodeid="595"&gt;@Andy LoPresto&lt;/A&gt; &lt;P&gt;i  try to use the plain http endpoind of api open graph of facebook but it support https  endpoint so i obliged to add certificate facebook  to nifi  , i upload th different certificate that facebook use but i don't know how  to configure nifi to know it,any help is apreciate&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 21:46:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158318#M20918</guid>
      <dc:creator>nejmhadjmbarek</dc:creator>
      <dc:date>2016-02-29T21:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SSL context Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158319#M20919</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2068/nejmhadjmbarek.html" nodeid="2068"&gt;@nejm hadj&lt;/A&gt; it sounds like you need to complete the following steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Download the Facebook server certificate (via the browser or using openssl).&lt;/LI&gt;&lt;LI&gt;Import that certificate as a trusted certificate into a truststore file.&lt;/LI&gt;&lt;LI&gt;Configure the PostHTTP processor to use an SSLContext which references that truststore file. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;As &lt;A rel="user" href="https://community.cloudera.com/users/2855/lubinlemarchand.html" nodeid="2855"&gt;@Lubin Lemarchxnd&lt;/A&gt; noted above, there are explicit instructions for these steps available &lt;A target="_blank" href="https://community.hortonworks.com/questions/9509/connecting-to-datasift-https-api-using-nifi.html"&gt;here&lt;/A&gt;. &lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 02:43:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Creating-a-SSL-context-Nifi/m-p/158319#M20919</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-03-01T02:43:06Z</dc:date>
    </item>
  </channel>
</rss>

