<?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: add Certificates Facebook to apache nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103809#M66726</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Ogot&lt;/A&gt; My response is too long to fit here. I've posted it as a &lt;A target="_blank" href="https://gist.github.com/alopresto/7d661b2100a3fd52fd3f"&gt;GitHub gist&lt;/A&gt;. &lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2016 04:23:06 GMT</pubDate>
    <dc:creator>alopresto</dc:creator>
    <dc:date>2016-03-02T04:23:06Z</dc:date>
    <item>
      <title>add Certificates Facebook to apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103804#M66721</link>
      <description>&lt;P&gt;i try to use the plain HTTP endpoint of api open graph of facebook,
 but it support HTTPS endpoint ( authentication with access_token) , 
so i obliged to add certificate facebook to nifi and create a ssl context, i upload the different certificates (file PEM) that facebook use but i don't know how to configure nifi to know it( how i add to keystore and trustore), any help is appreciate.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 17:24:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103804#M66721</guid>
      <dc:creator>nejmhadjmbarek</dc:creator>
      <dc:date>2016-03-01T17:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: add Certificates Facebook to apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103805#M66722</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2068/nejmhadjmbarek.html"&gt;nejm hadj&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is good doc surely it will help you &lt;A target="_blank" href="https://community.hortonworks.com/articles/17293/how-to-create-user-generated-keys-for-securing-nif.html"&gt;Nifi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if it worked &lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 21:01:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103805#M66722</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-03-01T21:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: add Certificates Facebook to apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103806#M66723</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Ogot&lt;/A&gt;, that article describes how to configure certificates, a keystore, and a truststore in order to provide NiFi as an HTTPS server, and how to configure certificates for individual users to provide client authentication. It will not assist &lt;A rel="user" href="https://community.cloudera.com/users/2068/nejmhadjmbarek.html" nodeid="2068"&gt;@nejm hadj&lt;/A&gt; in this case. &lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 02:49:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103806#M66723</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-03-02T02:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: add Certificates Facebook to apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103807#M66724</link>
      <description>&lt;P&gt;
	&lt;A href="https://community.hortonworks.com/users/2068/nejmhadjmbarek.html"&gt;@nejm hadj&lt;/A&gt;, as I answered to your comment on &lt;A target="_blank" href="https://community.hortonworks.com/comments/20226/view.html"&gt;the other question&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 &lt;A target="_blank" href="http://stackoverflow.com/a/7886248/70465"&gt;openssl&lt;/A&gt;).
	&lt;CODE&gt;$ openssl s_client -showcerts -connect graph.facebook.com:443 &amp;lt;/dev/null&lt;/CODE&gt;
	&lt;/LI&gt;	&lt;LI&gt;Import that certificate as a trusted certificate into a truststore file (not required in this case as explained below, but would be required if using an internal or custom organizational CA not pre-loaded in the JRE/JDK cacerts).
	&lt;OL&gt;
		&lt;LI&gt;As you can see in the output of the above openssl command, the Facebook server certificate (identified by subject &lt;CODE&gt;/C=US/ST=CA/L=Menlo Park/O=Facebook, Inc./CN=*.facebook.com&lt;/CODE&gt;) is issued by the DigiCert certificate (&lt;CODE&gt;/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3&lt;/CODE&gt;), and that intermediate CA is in turn issued by the DigiCert Root CA (&lt;CODE&gt;/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA&lt;/CODE&gt;). The Root CA is already present in the default Java &lt;CODE&gt;cacerts&lt;/CODE&gt; truststore, located at &lt;CODE&gt;$JAVA_HOME/jre/lib/security/cacerts&lt;/CODE&gt;. You can verify this by running the following command: &lt;CODE&gt;$ keytool -list -v -keystore $JAVA_HOME/jre/lib/security/cacerts -alias digicerthighassuranceevrootca&lt;/CODE&gt; and comparing the SHA-1 fingerprints (also available at &lt;A target="_blank" href="https://www.digicert.com/digicert-root-certificates.htm"&gt;DigiCert's website&lt;/A&gt;). &lt;/LI&gt;	&lt;/OL&gt;&lt;/LI&gt;	&lt;LI&gt;Configure the &lt;CODE&gt;PostHTTP&lt;/CODE&gt; processor to use an &lt;CODE&gt;SSLContext&lt;/CODE&gt; which references that truststore file.
	&lt;OL&gt;
		&lt;LI&gt;The truststore type is &lt;CODE&gt;JKS&lt;/CODE&gt;.&lt;/LI&gt;		&lt;LI&gt;The truststore location is &lt;CODE&gt;$JAVA_HOME/jre/lib/security/cacerts&lt;/CODE&gt;.&lt;/LI&gt;		&lt;LI&gt;The truststore password is &lt;CODE&gt;changeit&lt;/CODE&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:25:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103807#M66724</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-03-02T03:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: add Certificates Facebook to apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103808#M66725</link>
      <description>&lt;P&gt;If I understood well that's exactly the process nejm is  trying to implement import and add the facebook certificate to  a keystore and truststore to nifi !  &lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:29:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103808#M66725</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-03-02T03:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: add Certificates Facebook to apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103809#M66726</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Ogot&lt;/A&gt; My response is too long to fit here. I've posted it as a &lt;A target="_blank" href="https://gist.github.com/alopresto/7d661b2100a3fd52fd3f"&gt;GitHub gist&lt;/A&gt;. &lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 04:23:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103809#M66726</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2016-03-02T04:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: add Certificates Facebook to apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103810#M66727</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/595/alopresto.html"&gt;Andy LoPresto&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/595/alopresto.html"&gt; &lt;/A&gt;Surely I will have a look at that post !!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 13:50:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103810#M66727</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-03-02T13:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: add Certificates Facebook to apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103811#M66728</link>
      <description>&lt;P style="margin-left: 20px;"&gt;thank you &lt;A rel="user" href="https://community.cloudera.com/users/595/alopresto.html" nodeid="595"&gt;@Andy LoPresto&lt;/A&gt; i follow the 3rd step without adding the Facebook server certificates and it 'is work , the PostHttp  processor can support now https request but your document is very  useful for  me to know how i can add certificate to my trustore .&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 18:47:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103811#M66728</guid>
      <dc:creator>nejmhadjmbarek</dc:creator>
      <dc:date>2016-03-02T18:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: add Certificates Facebook to apache nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103812#M66729</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/595/alopresto.html" nodeid="595" target="_blank"&gt;@Andy LoPresto&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am still struggling with that. Tried to add certificate  to the truststore as well as you mentioned in your posts however,still getHTTP is not working. It is showing me an error in the access token which is working fine if I put that in the browser. I am yusing the template provided by github. SSL context service is also enabled. &lt;/P&gt;&lt;P&gt;Highly appreciate your support. Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13161-error.png" style="width: 1600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23631i84EBE9E88749158B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13161-error.png" alt="13161-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:05:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/add-Certificates-Facebook-to-apache-nifi/m-p/103812#M66729</guid>
      <dc:creator>omeralvi</dc:creator>
      <dc:date>2019-08-19T12:05:48Z</dc:date>
    </item>
  </channel>
</rss>

