<?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: NiFi Insufficient privileges post enabling SSL in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150624#M52842</link>
    <description>&lt;P&gt;Thank you all for responses.  Great stuff.  I was able to parse the nifi user log as suggested and found my cert was wrong user.  I am getting proxy error now.  will open another post.  thank you again.&lt;/P&gt;</description>
    <pubDate>Sat, 28 Jan 2017 03:44:14 GMT</pubDate>
    <dc:creator>sunile_manjee</dc:creator>
    <dc:date>2017-01-28T03:44:14Z</dc:date>
    <item>
      <title>NiFi Insufficient privileges post enabling SSL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150618#M52836</link>
      <description>&lt;P&gt;I have enabled SSL and created cert&lt;/P&gt;&lt;PRE&gt;/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/files/nifi-toolkit-1.1.0.2.1.1.0-2/bin/tls-toolkit.sh client -c xxxxx.field.hortonworks.com -D 'CN=nifiadmin, OU=FIELD.HORTONWORKS.COM' -p 10443 -t admin -T pkcs12&lt;/PRE&gt;&lt;P&gt;Add cert to my keychain.  and loaded pem in chrome&lt;/P&gt;&lt;P&gt;I have my initial admin identity set to &lt;/P&gt;&lt;PRE&gt;CN=nifiadmin, OU=FIELD.HORTONWORKS.COM&lt;/PRE&gt;&lt;P&gt;This is in my users.xml&lt;/P&gt;&lt;PRE&gt;&amp;lt;tenants&amp;gt;
    &amp;lt;groups/&amp;gt;
    &amp;lt;users&amp;gt;
        &amp;lt;user identifier="92f3fcec-cd4d-347d-b750-c54eb8f7d04f" identity="CN=nifiadmin, OU=FIELD.HORTONWORKS.COM"&amp;gt;
        &amp;lt;role name="ROLE_ADMIN"/&amp;gt;
        &amp;lt;user identifier="b7851c46-a903-34d5-928e-483bf61ddc17" identity="xxxxx.field.hortonworks.com"&amp;gt;
        &amp;lt;role name="ROLE_ADMIN"/&amp;gt;
    &amp;lt;/users&amp;gt;
&amp;lt;/tenants&amp;gt;
&lt;/PRE&gt;&lt;P&gt;When I hit the UI it says I have insufficient privileges.  Any ideas?&lt;/P&gt;&lt;P&gt;I have deleted authorizations.xml and users.xml, restarted nifi and same issue.  I have also updated the users.xml and set &amp;lt;role name="ROLE_ADMIN"/&amp;gt; for each user. I removed this spinet as well. same issue.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 03:23:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150618#M52836</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2017-01-28T03:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Insufficient privileges post enabling SSL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150619#M52837</link>
      <description>&lt;P&gt;
	&lt;CODE&gt;&amp;lt;role&amp;gt;&lt;/CODE&gt; elements are from NiFi &lt;CODE&gt;0.x&lt;/CODE&gt;. As you are on &lt;CODE&gt;1.x&lt;/CODE&gt;, you need to populate the &lt;CODE&gt;authorizations.xml&lt;/CODE&gt; file with the appropriate mappings of the user (identified by the UUID) to the &lt;A target="_blank" href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#config-users-access-policies"&gt;specific policies&lt;/A&gt; which will grant them access to perform the desired behavior. If you paste the contents of your authorizations.xml file here, we can correct any issues. Specifically, to view the UI, your user needs READ on the "view the UI" policy. &lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 03:29:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150619#M52837</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2017-01-28T03:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Insufficient privileges post enabling SSL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150620#M52838</link>
      <description>&lt;P&gt;There is no such thing as "roles" in Apache NiFi 1.x, I would expect that to fail start-up with those role elements.&lt;/P&gt;&lt;P&gt;When you receive the insufficient privileges message, what is shown in nifi-user.log? There should be a message with a user identity that was denied and we need to compare that identity to what you entered as your initial admin.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 03:29:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150620#M52838</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2017-01-28T03:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Insufficient privileges post enabling SSL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150621#M52839</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; got it. but how am I suppose to provide read access to admin if i am not able to get into UI using admin cert.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 03:32:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150621#M52839</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2017-01-28T03:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Insufficient privileges post enabling SSL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150622#M52840</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;The users.xml file you have above was not generated by NiFi.  Did you manually create that?  &lt;/P&gt;&lt;P&gt;You should not need to do that.  On First start of NiFi after enabling https, NiFi will generate both the users.xml and authorizations.xml files from the configurations in the authorizers.xml file.&lt;/P&gt;&lt;P&gt;If the users.xml and authorizations.xml files already exist, NiFi will not modify them or re-create them during startup even if you change the configurations in the authorizers.xml file for "Initial Admin Identities" or "node identities".&lt;/P&gt;&lt;P&gt;In order to to have NiFi create those files over, you will need to remove or rename the current users.xml and authorizations.xml files before restarting NiFi.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 03:39:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150622#M52840</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-01-28T03:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Insufficient privileges post enabling SSL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150623#M52841</link>
      <description>&lt;P&gt;When you set the Initial Admin Identity, NiFi does populate the roles for that user, including "view the UI", which allows you to then configure other users via the interface. Obviously there was an issue with generating your authorizations.xml, so that policy doesn't exist at this time. If you provide the authorizations.xml, we can fix it. &lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 03:42:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150623#M52841</guid>
      <dc:creator>alopresto</dc:creator>
      <dc:date>2017-01-28T03:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Insufficient privileges post enabling SSL</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150624#M52842</link>
      <description>&lt;P&gt;Thank you all for responses.  Great stuff.  I was able to parse the nifi user log as suggested and found my cert was wrong user.  I am getting proxy error now.  will open another post.  thank you again.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 03:44:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-Insufficient-privileges-post-enabling-SSL/m-p/150624#M52842</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2017-01-28T03:44:14Z</dc:date>
    </item>
  </channel>
</rss>

