<?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 registry security - able to login with certs but not geeting login page in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286200#M212281</link>
    <description>&lt;P&gt;@Former Member&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Simply configuring the ldap-provider in the identity-providers.xml file will not result in NiFi-Registry using it.&lt;BR /&gt;Make sure you have set the following property in the nifi-registry.properties file:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.registry.security.identity.provider=ldap-provider&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;This tells NiFi to use the "ldap-provider" configured in that file.&lt;BR /&gt;&lt;BR /&gt;Also make sure the file is named "identity-providers.xml" and not "login-identity-providers.xml".&amp;nbsp; &amp;nbsp;NiFi-Registry uses the former while NiFi uses the latter identity providers filename.&lt;BR /&gt;&lt;BR /&gt;One other things to consider... If NiFi-Registry is configured to support Spnego:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.registry.kerberos.spnego.authentication.expiration=12 hours
nifi.registry.kerberos.spnego.keytab.location=
nifi.registry.kerberos.spnego.principal=&lt;/LI-CODE&gt;&lt;P&gt;Spnego auth will be attempted before any configured identity provider.&amp;nbsp; So all it takes is to have Spnego enabled in your browser and NiFi-Registry to be setup to support Spnego auth and you will not see login page as well.&amp;nbsp; If you do not have Spnego enabled in your browser, then this is not your issue because even if configured if browser does not return Spengo creds, NiFi-Registry will move on to next configured authentication provider.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
    <pubDate>Mon, 23 Dec 2019 18:24:32 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2019-12-23T18:24:32Z</dc:date>
    <item>
      <title>nifi registry security - able to login with certs but not geeting login page</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286148#M212243</link>
      <description>&lt;P&gt;nifi registry security - able to login with certs but not getting login page when canceling certs&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;updated login-identity-provider.xml as below not sure what is missing&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;lt;identityProviders&amp;gt;&lt;BR /&gt;&amp;lt;provider&amp;gt;&lt;BR /&gt;&amp;lt;identifier&amp;gt;ldap-provider&amp;lt;/identifier&amp;gt;&lt;BR /&gt;&amp;lt;class&amp;gt;org.apache.nifi.registry.security.ldap.LdapIdentityProvider&amp;lt;/class&amp;gt;&lt;BR /&gt;&amp;lt;property name="Authentication Strategy"&amp;gt;SIMPLE&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Manager DN"&amp;gt;xxxxxxxx&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Manager Password"&amp;gt;&amp;gt;xxxxxxxx&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="TLS - Keystore"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="TLS - Keystore Password"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="TLS - Keystore Type"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="TLS - Truststore"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="TLS - Truststore Password"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="TLS - Truststore Type"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="TLS - Client Auth"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="TLS - Protocol"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="TLS - Shutdown Gracefully"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Referral Strategy"&amp;gt;FOLLOW&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Connect Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Read Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Url"&amp;gt;ldap://abc:389&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="User Search Base"&amp;gt;OU=managed,DC=ams,DC=xx,DC=com&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="User Search Filter"&amp;gt;sAMAccountName={0}&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Identity Strategy"&amp;gt;USE_USERNAME&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Authentication Expiration"&amp;gt;12 hours&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Sync Interval"&amp;gt;30 secs&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/provider&amp;gt;&lt;BR /&gt;&amp;lt;/identityProviders&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please let me know what is missing here&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 13:46:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286148#M212243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-12-22T13:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: nifi registry security - able to login with certs but not geeting login page</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286200#M212281</link>
      <description>&lt;P&gt;@Former Member&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Simply configuring the ldap-provider in the identity-providers.xml file will not result in NiFi-Registry using it.&lt;BR /&gt;Make sure you have set the following property in the nifi-registry.properties file:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.registry.security.identity.provider=ldap-provider&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;This tells NiFi to use the "ldap-provider" configured in that file.&lt;BR /&gt;&lt;BR /&gt;Also make sure the file is named "identity-providers.xml" and not "login-identity-providers.xml".&amp;nbsp; &amp;nbsp;NiFi-Registry uses the former while NiFi uses the latter identity providers filename.&lt;BR /&gt;&lt;BR /&gt;One other things to consider... If NiFi-Registry is configured to support Spnego:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.registry.kerberos.spnego.authentication.expiration=12 hours
nifi.registry.kerberos.spnego.keytab.location=
nifi.registry.kerberos.spnego.principal=&lt;/LI-CODE&gt;&lt;P&gt;Spnego auth will be attempted before any configured identity provider.&amp;nbsp; So all it takes is to have Spnego enabled in your browser and NiFi-Registry to be setup to support Spnego auth and you will not see login page as well.&amp;nbsp; If you do not have Spnego enabled in your browser, then this is not your issue because even if configured if browser does not return Spengo creds, NiFi-Registry will move on to next configured authentication provider.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 18:24:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286200#M212281</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-12-23T18:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: nifi registry security - able to login with certs but not geeting login page</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286358#M212393</link>
      <description>&lt;P&gt;@Former Member&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, updated nifi-reg.properties file&lt;/P&gt;&lt;PRE&gt;nifi.registry.security.identity.provider=ldap-provider&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;but still no luck&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# security properties #&lt;/P&gt;&lt;P&gt;nifi.registry.security.keystore=./conf/keystore.jks&lt;BR /&gt;nifi.registry.security.keystoreType=jks&lt;BR /&gt;nifi.registry.security.keystorePasswd=xxxxxxxx&lt;BR /&gt;nifi.registry.security.keyPasswd=xxxxxx&lt;BR /&gt;nifi.registry.security.truststore=./conf/truststore.jks&lt;BR /&gt;nifi.registry.security.truststoreType=jks&lt;BR /&gt;nifi.registry.security.truststorePasswd=xxxxxxxxxxx&lt;BR /&gt;nifi.registry.security.user.authorizer=managed-authorizer&lt;BR /&gt;#nifi.registry.security.user.login.identity.provider=ldap-identity-provider&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;nifi.registry.security.needClientAuth=&lt;/P&gt;&lt;P&gt;nifi.registry.security.authorizers.configuration.file=./conf/authorizers.xml&lt;BR /&gt;nifi.registry.security.authorizer=managed-authorizer&lt;BR /&gt;nifi.registry.security.identity.providers.configuration.file=./conf/identity-providers.xml&lt;BR /&gt;nifi.registry.security.identity.provider=ldap-provider&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 02:41:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286358#M212393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-12-26T02:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: nifi registry security - able to login with certs but not geeting login page</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286359#M212394</link>
      <description>&lt;P&gt;do i need to configure authorization.xml to get the login page alone?&lt;/P&gt;&lt;P&gt;please advice. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 03:33:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286359#M212394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-12-26T03:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: nifi registry security - able to login with certs but not geeting login page</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286387#M212420</link>
      <description>&lt;P&gt;@Former Member&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure you have configured "&lt;SPAN&gt;nifi.registry.security.needClientAuth=false".&lt;BR /&gt;&lt;/SPAN&gt;When not set it defaults to true.&lt;BR /&gt;&lt;BR /&gt;NeedClientAuth=true tells NiFi that in the TLS handshake it will "require" client to present a client side certificate.&amp;nbsp; If one is not presented, the connection will just close and NiFi-Registry will never try any other authentication method.&lt;BR /&gt;&lt;BR /&gt;This property must be set to false in order for NiFi-Registry to support any authentication method other than TLS.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this gets you going,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 16:38:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286387#M212420</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-12-26T16:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: nifi registry security - able to login with certs but not geeting login page</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286393#M212424</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this really helps, now i am getting login page once after the setting the value to false&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;nifi.registry.security.needClientAuth=false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Really Appreciate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you help to configure file-based user authorizations as well in authorizers.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i hope below part should be enough&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;userGroupProvider&amp;gt;&lt;BR /&gt;&amp;lt;identifier&amp;gt;file-user-group-provider&amp;lt;/identifier&amp;gt;&lt;BR /&gt;&amp;lt;class&amp;gt;org.apache.nifi.registry.security.authorization.file.FileUserGroupProvider&amp;lt;/class&amp;gt;&lt;BR /&gt;&amp;lt;property name="Users File"&amp;gt;./conf/users.xml&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Initial User Identity 1"&amp;gt;CN=sys_admin, OU=RegPoc&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;/userGroupProvider&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;accessPolicyProvider&amp;gt;&lt;BR /&gt;&amp;lt;identifier&amp;gt;file-access-policy-provider&amp;lt;/identifier&amp;gt;&lt;BR /&gt;&amp;lt;class&amp;gt;org.apache.nifi.registry.security.authorization.file.FileAccessPolicyProvider&amp;lt;/class&amp;gt;&lt;BR /&gt;&amp;lt;property name="User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Authorizations File"&amp;gt;./conf/authorizations.xml&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="Initial Admin Identity"&amp;gt;CN=sys_admin, OU=RegPoc&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!--&amp;lt;property name="NiFi Identity 1"&amp;gt;&amp;lt;/property&amp;gt;--&amp;gt;&lt;BR /&gt;&amp;lt;/accessPolicyProvider&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what should be the node identity here ?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 20:55:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286393#M212424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-12-26T20:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: nifi registry security - able to login with certs but not geeting login page</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286461#M212455</link>
      <description>&lt;P&gt;@Former Member&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Since you are asking a new question unrelated to the question asked in the original subject, I kindly ask that you start a new question.&amp;nbsp; Would be happy to help.&amp;nbsp; Asking multiple questions in one thread makes a thread harder to follow for other users of this community forum.&lt;BR /&gt;&lt;BR /&gt;If you feel this question subject has been answered, please accept a solution provided to close out this thread.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 15:15:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-registry-security-able-to-login-with-certs-but-not/m-p/286461#M212455</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-12-27T15:15:02Z</dc:date>
    </item>
  </channel>
</rss>

