<?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: SSL with Apache Nifi not working in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139369#M52119</link>
    <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11565-login-identity-providers.xml"&gt;login-identity-providers.xml&lt;/A&gt;Thanks for the reply &lt;A href="https://community.hortonworks.com/questions/78921/ssl-with-apache-nifi-not-working.html#"&gt;@Matt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Attached my login-identity-providers.xml FYR.&lt;/P&gt;&lt;P&gt;As of now i am in the beginnig step to create LDAP authentication i didnt enable anything.&lt;/P&gt;&lt;P&gt;Share any KL you have.&lt;/P&gt;&lt;P&gt;And &lt;/P&gt;&lt;P&gt;1) Once i authenticated with LDAP then for each ldap user do i need create ssl cert and to accept in browser to access NIFI?&lt;/P&gt;</description>
    <pubDate>Sat, 21 Jan 2017 01:50:13 GMT</pubDate>
    <dc:creator>Anishkumarv</dc:creator>
    <dc:date>2017-01-21T01:50:13Z</dc:date>
    <item>
      <title>SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139362#M52112</link>
      <description>&lt;P&gt;
	I have been working on this problem for quite some time and I would like answers and suggestions from you guys on the issue I am facing. I am trying to get my Nifi standalone instance on my server and basically my requirement is LDAP authenitcation, for that i have read some documents and found need to setup SSL first so i have followed this &lt;A href="http://www.batchiq.com/nifi-configuring-ssl-auth.html"&gt;link&lt;/A&gt; but i am getting the below error.&lt;/P&gt;&lt;P&gt;
	and my authorizers.xml&lt;/P&gt;&lt;P&gt;kindly have a look and advice.&lt;/P&gt;&lt;PRE&gt;	&amp;lt;authorizer&amp;gt;
        &amp;lt;identifier&amp;gt;file-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileAuthorizer&amp;lt;/class&amp;gt;
        &amp;lt;property name="Authorizations File"&amp;gt;./conf/authorizations.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Users File"&amp;gt;./conf/users.xml&amp;lt;/property&amp;gt;
        &amp;lt;property name="Initial Admin Identity"&amp;gt;"EMAILADDRESS=07anis@gmail.com,CN=admin,OU=EDM,O=XXX,L=HK,ST=HK,C=HK"&amp;lt;/property&amp;gt;
        &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;!-- Provide the identity (typically a DN) of each node when clustered, see above description of Node Identity.
        &amp;lt;property name="Node Identity 1"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Node Identity 2"&amp;gt;&amp;lt;/property&amp;gt;
        --&amp;gt;
    &amp;lt;/authorizer&amp;gt;&lt;/PRE&gt;
&lt;PRE&gt;2017-01-20 23:39:12,603 INFO [main] o.a.nifi.authorization.FileAuthorizer Authorizations file loaded at Fri Jan 20 23:39:12 HKT 2017
2017-01-20 23:39:59,327 INFO [NiFi Web Server-44] o.a.n.w.a.c.IllegalStateExceptionMapper java.lang.IllegalStateException: Kerberos ticket login not supported by this NiFi.. Returning Conflict response.
2017-01-20 23:39:59,331 DEBUG [NiFi Web Server-44] o.a.n.w.a.c.IllegalStateExceptionMapper
java.lang.IllegalStateException: Kerberos ticket login not supported by this NiFi.
        at org.apache.nifi.web.api.AccessResource.createAccessTokenFromTicket(AccessResource.java:349) ~[classes/:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77]
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19]
        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19]
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19]
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:51) [jetty-servlets-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.apache.nifi.web.filter.RequestLogger.doFilter(RequestLogger.java:66) [classes/:na]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:207) [spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176) [spring-security-web-4.0.3.RELEASE.jar:4.0.3.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.apache.nifi.web.filter.TimerFilter.doFilter(TimerFilter.java:51) [classes/:na]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [jetty-security-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.Server.handle(Server.java:524) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) [jetty-server-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:186) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.9.v20160517.jar:9.3.9.v20160517]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
2017-01-20 23:39:59,556 DEBUG [NiFi Web Server-55] o.a.n.w.s.NiFiAuthenticationFilter Checking secure context token: null
2017-01-20 23:39:59,557 INFO [NiFi Web Server-55] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (EMAILADDRESS=07anis@gmail.com, CN=admin, OU=EDM, O=XXX, L=HK, ST=HK, C=HK) GET &lt;A href="https://hklpadhod07:7443/nifi-api/flow/current-user" target="_blank"&gt;https://hklpadhod07:7443/nifi-api/flow/current-user&lt;/A&gt; (source ip: 10.112.194.113)
2017-01-20 23:39:59,559 INFO [NiFi Web Server-55] o.a.n.w.s.NiFiAuthenticationFilter Authentication success for EMAILADDRESS=07anis@gmail.com, CN=admin, OU=EDM, O=XXX, L=HK, ST=HK, C=HK
2017-01-20 23:39:59,559 DEBUG [NiFi Web Server-55] o.a.n.w.s.NiFiAuthenticationFilter Checking secure context token: EMAILADDRESS=07anis@gmail.com, CN=admin, OU=EDM, O=XXX, L=HK, ST=HK, C=HK
2017-01-20 23:39:59,559 DEBUG [NiFi Web Server-55] o.a.n.w.s.NiFiAuthenticationFilter Checking secure context token: EMAILADDRESS=07anis@gmail.com, CN=admin, OU=EDM, O=XXX, L=HK, ST=HK, C=HK
2017-01-20 23:39:59,560 DEBUG [NiFi Web Server-55] o.a.n.w.s.a.NiFiAnonymousUserFilter SecurityContextHolder not populated with anonymous token, as it already contained: 'EMAILADDRESS=07anis@gmail.com, CN=admin, OU=EDM, O=XXX, L=HK, ST=HK, C=HK'
2017-01-20 23:39:59,571 INFO [NiFi Web Server-55] o.a.n.w.a.c.AccessDeniedExceptionMapper EMAILADDRESS=07anis@gmail.com, CN=admin, OU=EDM, O=XXX, L=HK, ST=HK, C=HK does not have permission to access the requested resource. Returning Forbidden response.
2017-01-20 23:39:59,572 DEBUG [NiFi Web Server-55] o.a.n.w.a.c.AccessDeniedExceptionMapper
org.apache.nifi.authorization.AccessDeniedException: Unknown user with identity 'EMAILADDRESS=07anis@gmail.com, CN=admin, OU=EDM, O=XXX, L=HK, ST=HK, C=HK'.
        at org.apache.nifi.web.api.FlowResource.authorizeFlow(FlowResource.java:226) ~[classes/:na]
        at org.apache.nifi.web.api.FlowResource.getCurrentUser(FlowResource.java:312) ~[classes/:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77]
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19]
        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19]
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19]
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:51) [jetty-servlets-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.apache.nifi.web.filter.RequestLogger.doFilter(RequestLogger.java:66) [classes/:na]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) [jetty-servlet-9.3.9.v20160517.jar:9.3.9.v20160517]
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316) [spring-security-web-4.0.3.RELEASE.jar:4.0s
&amp;lt;br&amp;gt;
&lt;/PRE&gt;</description>
      <pubDate>Sat, 21 Jan 2017 00:44:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139362#M52112</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-01-21T00:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139363#M52113</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt; Can you help on this.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 00:48:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139363#M52113</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-01-21T00:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139364#M52114</link>
      <description>&lt;P&gt;Try the following...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Stop your NiFi&lt;/LI&gt;&lt;LI&gt;Delete users.xml and authorizations.xml&lt;/LI&gt;&lt;LI&gt;Edit authorizers.xml so that the "Initial Admin Identity" matches exactly what see in your logs, &lt;STRONG&gt;notice yours has no spaces and the logs do have spaces&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Start again&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 21 Jan 2017 00:48:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139364#M52114</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2017-01-21T00:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139365#M52115</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14534/anishkumarvalsalam.html" nodeid="14534"&gt;@Anishkumar Valsalam&lt;/A&gt;&lt;P&gt;The log you provided shows that user authentication is successful.  What is failing is the users authorization inside NiFi.  When setting up NiFi securely for the first time (enable SSL), you need to provide an "Initial Admin Identity".  The Identity provided here will be used to seed the admin related access policies (Authorizations) within NiFi which will give that user the ability to access the UI.   &lt;/P&gt;&lt;P&gt;The issue you are running in to is that what your LDAP has returned and what you have configured in your authorizers.xml file do not match exactly.&lt;/P&gt;&lt;P&gt;Configured value:    EMAILADDRESS=07anis@gmail.com,CN=admin,OU=EDM,O=XXX,L=HK,ST=HK,C=HK&lt;/P&gt;&lt;P&gt;LDAP value:            EMAILADDRESS=07anis@gmail.com, CN=admin, OU=EDM, O=XXX, L=HK, ST=HK, C=HK&lt;/P&gt;&lt;P&gt;These are case sensitive and spaces do count.&lt;/P&gt;&lt;P&gt;You cannot simply update the authorizers.xml config file to resolve your issue.  When NiFi is started securely for the first time,  users.xml and authorizations.xml files are generated based on the configs in the authorizers.xml file.  Subsequent restarts of NiFi will not trigger a modification or re-creation of these files if they already exist.  So to correct your issue, you will need to correct your "Initial Admin Identity" configuration so it matches what is being returned by LDAP, remove the existing users.xml and authorizations.xml files and then restart so they get created with the correct value/user identity.&lt;/P&gt;&lt;P&gt;Once you have gained access to your NiFi UI, you can add additional users and set authorizations for those users directly form the UI.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 00:57:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139365#M52115</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-01-21T00:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139366#M52116</link>
      <description>&lt;P&gt;Thanks Matt and Brayan.&lt;/P&gt;&lt;P&gt;It resolved my current issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; thanks much. next step will connect to LDAP &lt;/P&gt;&lt;P&gt;can i get the any hortonworks knowledge link for ldap configuration with nifi.&lt;/P&gt;&lt;P&gt;and without kerberos/ldap is there any way to authenticate users example PAM. &lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 01:05:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139366#M52116</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-01-21T01:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139367#M52117</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 01:17:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139367#M52117</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-01-21T01:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139368#M52118</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14534/anishkumarvalsalam.html" nodeid="14534"&gt;@Anishkumar Valsalam&lt;/A&gt; &lt;/P&gt;&lt;P&gt;NiFi user authentication supports LDAP, Kerberos, or Users TLS certificates (default) only.

I thought you were already using LDAP for user authentication?

What do you have configured in your login-identity-providers.xml?&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 01:23:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139368#M52118</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-01-21T01:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139369#M52119</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11565-login-identity-providers.xml"&gt;login-identity-providers.xml&lt;/A&gt;Thanks for the reply &lt;A href="https://community.hortonworks.com/questions/78921/ssl-with-apache-nifi-not-working.html#"&gt;@Matt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Attached my login-identity-providers.xml FYR.&lt;/P&gt;&lt;P&gt;As of now i am in the beginnig step to create LDAP authentication i didnt enable anything.&lt;/P&gt;&lt;P&gt;Share any KL you have.&lt;/P&gt;&lt;P&gt;And &lt;/P&gt;&lt;P&gt;1) Once i authenticated with LDAP then for each ldap user do i need create ssl cert and to accept in browser to access NIFI?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 01:50:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139369#M52119</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-01-21T01:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139370#M52120</link>
      <description>&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;If i confiugre through LDAP at that time  the TLS which i configured is required?  &lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 21:26:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139370#M52120</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-01-21T21:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139371#M52121</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;</description>
      <pubDate>Tue, 24 Jan 2017 06:59:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139371#M52121</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-01-24T06:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: SSL with Apache Nifi not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139372#M52122</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt&lt;/A&gt;      &lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 06:59:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SSL-with-Apache-Nifi-not-working/m-p/139372#M52122</guid>
      <dc:creator>Anishkumarv</dc:creator>
      <dc:date>2017-01-24T06:59:44Z</dc:date>
    </item>
  </channel>
</rss>

