<?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: Should be simple connect to Google News Feed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229217#M191074</link>
    <description>&lt;P&gt;
 I have solved the problem.&lt;/P&gt;&lt;P&gt;
 It was simple issue but all new to this and none of the examples online show this fix.&lt;/P&gt;&lt;P&gt;
 First you need to have a keystore and there is a link above on creating one of those.&lt;/P&gt;&lt;P&gt;
 Then this is what was missed you need to download the certificate from the site providing the data.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
 echo -n | openssl s_client -connect newsapi.org:443 |  sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' &amp;gt; /tmp/examplecert.crt&lt;/P&gt;&lt;P&gt;Then import to your keystore&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;sudo keytool -import -keystore truststore.jks -file /tmp/examplecer.crt -alias &amp;lt;sitename&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P&gt;Then set up the Control Service Device for the StandardSSLContextService&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="86647-capture.png" style="width: 800px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15124i02DDD1536C04DFBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="86647-capture.png" alt="86647-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 00:59:34 GMT</pubDate>
    <dc:creator>lee_arnould</dc:creator>
    <dc:date>2019-08-18T00:59:34Z</dc:date>
    <item>
      <title>Should be simple connect to Google News Feed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229211#M191068</link>
      <description>&lt;P&gt;I have created a aipKey to access newsapi.org I have a simple query &lt;A href="https://newsapi.org/v2/everything?q=bitcoin&amp;amp;apiKey=&amp;lt;key&amp;gt;" target="_blank"&gt;https://newsapi.org/v2/everything?q=bitcoin&amp;amp;apiKey=&amp;lt;key&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;I get one of two error using a GetHTTP processor (SSL) Or if I use http:// I get unknownhostexception.&lt;/P&gt;&lt;P&gt;If I use an InvokeHttp processor I just get unknown host. I can curl the request from the server so it is not blocked.&lt;/P&gt;&lt;P&gt;When i set up a standardSSLContextService I am unsure where the certificate path is and what other information is meant to b in this. It all seems a bit of a bother to simply consume a JSON api feed.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 11:55:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229211#M191068</guid>
      <dc:creator>lee_arnould</dc:creator>
      <dc:date>2018-08-21T11:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Should be simple connect to Google News Feed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229212#M191069</link>
      <description>&lt;P&gt;You are going to have complete the setup of the standardSSLContextService.  You can find a writeup about Google HTTPS and using the jvm cacerts for the truststore here:&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;A href="https://community.hortonworks.com/articles/61180/streaming-ingest-of-google-sheets-into-a-connected.html"&gt;https://community.hortonworks.com/articles/61180/streaming-ingest-of-google-sheets-into-a-connected.html&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;If this answer is helpful, please choose ACCEPT to mark your question answered.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 18:16:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229212#M191069</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2018-08-21T18:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Should be simple connect to Google News Feed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229213#M191070</link>
      <description>&lt;P style="margin-left: 40px;"&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/87347/stevenmatison.html" nodeid="87347" target="_blank"&gt;@Steven Matison&lt;/A&gt; this solved the set up of the standardSSLContextService with the help of &lt;A href="https://community.hortonworks.com/content/supportkb/151106/nifi-how-to-create-your-own-certs-for-securing-nif.html" rel="nofollow noopener noreferrer" target="_blank"&gt;This article on setting up the cacerts&lt;/A&gt; but I still get a UnknownHostException. Any ideas anyone? Same thing happens on GetHTTP as well.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="86630-capture.png" style="width: 909px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15126i90CCD6DDDF81D414/image-size/medium?v=v2&amp;amp;px=400" role="button" title="86630-capture.png" alt="86630-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:59:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229213#M191070</guid>
      <dc:creator>lee_arnould</dc:creator>
      <dc:date>2019-08-18T00:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Should be simple connect to Google News Feed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229214#M191071</link>
      <description>&lt;P&gt;are you able to ping the domain &lt;A href="http://newsapi.org/"&gt;newsapi.org&lt;/A&gt; from the Nifi host Please confirm that first Use of InvokeHTTP seems correct but somehow that domain name is not resolving&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 12:21:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229214#M191071</guid>
      <dc:creator>pkadam</dc:creator>
      <dc:date>2018-08-22T12:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Should be simple connect to Google News Feed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229215#M191072</link>
      <description>&lt;P&gt;As mentioned below:  you need to verify the nifi host can see that domain and resolve the url.   Another thing you might want to do is tail the nifi log while testing and debugging,  it often has more helpful information than the red alert box.  Once you have the error, search it here in the HCC and make a new question.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 18:21:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229215#M191072</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2018-08-22T18:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Should be simple connect to Google News Feed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229216#M191073</link>
      <description>&lt;P&gt;I added this answer yesterday but not there today. YES and YES I can access newsapi.org via ping from the server for nifi.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="86646-capture.png" style="width: 665px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15125iC7B82B09D189D2BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="86646-capture.png" alt="86646-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:59:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229216#M191073</guid>
      <dc:creator>lee_arnould</dc:creator>
      <dc:date>2019-08-18T00:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Should be simple connect to Google News Feed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229217#M191074</link>
      <description>&lt;P&gt;
 I have solved the problem.&lt;/P&gt;&lt;P&gt;
 It was simple issue but all new to this and none of the examples online show this fix.&lt;/P&gt;&lt;P&gt;
 First you need to have a keystore and there is a link above on creating one of those.&lt;/P&gt;&lt;P&gt;
 Then this is what was missed you need to download the certificate from the site providing the data.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
 echo -n | openssl s_client -connect newsapi.org:443 |  sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' &amp;gt; /tmp/examplecert.crt&lt;/P&gt;&lt;P&gt;Then import to your keystore&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;sudo keytool -import -keystore truststore.jks -file /tmp/examplecer.crt -alias &amp;lt;sitename&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P&gt;Then set up the Control Service Device for the StandardSSLContextService&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="86647-capture.png" style="width: 800px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15124i02DDD1536C04DFBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="86647-capture.png" alt="86647-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:59:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Should-be-simple-connect-to-Google-News-Feed/m-p/229217#M191074</guid>
      <dc:creator>lee_arnould</dc:creator>
      <dc:date>2019-08-18T00:59:34Z</dc:date>
    </item>
  </channel>
</rss>

