<?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: Untrusted proxy CN=rang2, OU=NIFI in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Untrusted-proxy-CN-rang2-OU-NIFI/m-p/200118#M78533</link>
    <description>&lt;P&gt;Thanks, followed your advice I've solved this problem. I didn't realize that nifi host should also authoried by Ranger. &lt;/P&gt;</description>
    <pubDate>Tue, 22 May 2018 09:00:21 GMT</pubDate>
    <dc:creator>asakariayisa</dc:creator>
    <dc:date>2018-05-22T09:00:21Z</dc:date>
    <item>
      <title>Untrusted proxy CN=rang2, OU=NIFI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Untrusted-proxy-CN-rang2-OU-NIFI/m-p/200116#M78531</link>
      <description>&lt;P&gt;&lt;IMG src="https://community.cloudera.com/legacyfs/online/attachments/74503-nifierror.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/legacyfs/online/attachments/74504-nifierror.png" /&gt;&lt;/P&gt;&lt;P&gt;I am getting error Untrusted proxy CN=rang2, OU=NIFI while trying to log into NiFi UI . &lt;/P&gt;&lt;P&gt;Follow this page I enable SSL for Nifi ,but meet one mistake as he say and can't solve it by myself.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/58009/hdf-20-enable-ssl-for-apache-nifi-from-ambari.html"&gt;https://community.hortonworks.com/articles/58009/hdf-20-enable-ssl-for-apache-nifi-from-ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In Ambari UI, I've set Node Identities in Advanced nifi-ambari-ssl-config:&lt;/P&gt;&lt;PRE&gt;&amp;lt;!-- Provide the identity (typically a DN) of each node when clustered (see tool tip for detailed description of Node Identity). Must be specified when Ranger Nifi plugin will not be used for authorization. --&amp;gt;

&amp;lt;property name="Node Identity 1"&amp;gt;CN=rang2, OU=NIFI&amp;lt;/property&amp;gt;
&lt;/PRE&gt;&lt;P&gt;And in authorizers.xml, it seems to work:&lt;/P&gt;&lt;PRE&gt;        &amp;lt;authorizer&amp;gt;
        &amp;lt;identifier&amp;gt;ranger-provider&amp;lt;/identifier&amp;gt;


        &amp;lt;class&amp;gt;org.apache.nifi.ranger.authorization.RangerNiFiAuthorizer&amp;lt;/class&amp;gt;
        &amp;lt;property name="Ranger Audit Config Path"&amp;gt;/usr/hdf/current/nifi/conf/ranger-nifi-audit.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Ranger Security Config Path"&amp;gt;/usr/hdf/current/nifi/conf/ranger-nifi-security.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Ranger Service Type"&amp;gt;nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="Ranger Application Id"&amp;gt;nifi&amp;lt;/property&amp;gt;
        &amp;lt;property name="Ranger Admin Identity"&amp;gt;CN=mytest, OU=NIFI&amp;lt;/property&amp;gt;


        &amp;lt;property name="Ranger Kerberos Enabled"&amp;gt;true&amp;lt;/property&amp;gt;








&amp;lt;!-- Provide the identity (typically a DN) of each node when clustered (see tool tip for detailed description of Node Identity). Must be specified when Ranger Nifi plugin will not be used for authorization. --&amp;gt;


&amp;lt;property name="Node Identity 1"&amp;gt;CN=rang2, OU=NIFI&amp;lt;/property&amp;gt;


        &amp;lt;/authorizer&amp;gt;
        &amp;lt;/authorizers&amp;gt;
&lt;/PRE&gt;&lt;P&gt;But this error happened when I set policies by Ranger UI and try to login nifi. Any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 19:14:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Untrusted-proxy-CN-rang2-OU-NIFI/m-p/200116#M78531</guid>
      <dc:creator>asakariayisa</dc:creator>
      <dc:date>2018-05-21T19:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Untrusted proxy CN=rang2, OU=NIFI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Untrusted-proxy-CN-rang2-OU-NIFI/m-p/200117#M78532</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/80268/asakariayisa.html" nodeid="80268"&gt;@wang ling&lt;/A&gt;&lt;P&gt;The "&amp;lt;propertyname="Node Identity 1"&amp;gt;CN=rang2, OU=NIFI&amp;lt;/property&amp;gt;" property in the authorizers.xml is only used when using NiFi's default file based authorization provider. It does not apply when using Ranger as your authorization provider.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;In Ranger, you will need to make sure the user "CN=rang2, OU=NIFI" exists and has been give access to the "/proxy" NiFi Resource Identifier.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If you found this answer addressed your question, please take moment to login and click "&lt;STRONG&gt;accept&lt;/STRONG&gt;" below the answer.&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 02:30:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Untrusted-proxy-CN-rang2-OU-NIFI/m-p/200117#M78532</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2018-05-22T02:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Untrusted proxy CN=rang2, OU=NIFI</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Untrusted-proxy-CN-rang2-OU-NIFI/m-p/200118#M78533</link>
      <description>&lt;P&gt;Thanks, followed your advice I've solved this problem. I didn't realize that nifi host should also authoried by Ranger. &lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 09:00:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Untrusted-proxy-CN-rang2-OU-NIFI/m-p/200118#M78533</guid>
      <dc:creator>asakariayisa</dc:creator>
      <dc:date>2018-05-22T09:00:21Z</dc:date>
    </item>
  </channel>
</rss>

