<?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: Apache Nifi Registry - Unbale to set LDAP - Unable to load the login identity provider configuration file at: /opt/nifi-registry/nifi-registry-current/conf/login-identity-providers.xml in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Registry-Unbale-to-set-LDAP-Unable-to-load-the/m-p/394083#M248663</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/117647"&gt;@sha257&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The provider as shared is missing required configurations&amp;nbsp;Manager DN, Manager password, URL, and User Search Base.&amp;nbsp; Perhaps you just blanked these out for this post.&amp;nbsp; Since this is an xml format file, make sure that you are properly escaping any XML special characters if used in any of the property values.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;XML Special Character:&lt;/TD&gt;&lt;TD width="50%"&gt;Replacement escape value:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;"&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;quot;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;'&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;apos;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&amp;lt;&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;lt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&amp;gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&amp;amp;&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;amp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;if any of these are used without being escaped, the xml will be invalid a not able to be loaded.&lt;BR /&gt;&lt;BR /&gt;I also see that you have configured the&amp;nbsp;Authentication Strategy as SIMPLE which means your using ldap and not ldaps; however, I see that you have configured the TLS keystore and truststore properties.&amp;nbsp; That is not an issue, unless your ldap URL is really secured requiring either the LDAPS or START_TLS "Authentication Strategy" to be set.&lt;BR /&gt;&lt;BR /&gt;For your&amp;nbsp;User Search Filter, try changing that from "(cn={0})" to just "cn={0}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;Most common issue is use of special characters within XML field property values like passwords that have not been escaped properly.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 13:29:52 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2024-09-27T13:29:52Z</dc:date>
    <item>
      <title>Apache Nifi Registry - Unbale to set LDAP - Unable to load the login identity provider configuration file at: /opt/nifi-registry/nifi-registry-current/conf/login-identity-providers.xml</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Registry-Unbale-to-set-LDAP-Unable-to-load-the/m-p/394072#M248661</link>
      <description>&lt;P&gt;Hello ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to setup LDAP on my Nifi Registry and I am getting the below errror :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut Caused by: java.lang.Exception: Unable to load the login identity provider configuration file at: /opt/nifi-registry/nifi-registry-current/conf/login-identity-providers.xml
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at org.apache.nifi.registry.security.authentication.IdentityProviderFactory.loadLoginIdentityProvidersConfiguration(IdentityProviderFactory.java:160)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at org.apache.nifi.registry.security.authentication.IdentityProviderFactory.getIdentityProvider(IdentityProviderFactory.java:110)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at org.apache.nifi.registry.security.authentication.IdentityProviderFactory$$EnhancerBySpringCGLIB$$adc959c5.CGLIB$getIdentityProvider$0(&amp;lt;generated&amp;gt;)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at org.apache.nifi.registry.security.authentication.IdentityProviderFactory$$EnhancerBySpringCGLIB$$adc959c5$$FastClassBySpringCGLIB$$53c655ec.invoke(&amp;lt;generated&amp;gt;)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at org.apache.nifi.registry.security.authentication.IdentityProviderFactory$$EnhancerBySpringCGLIB$$adc959c5.getIdentityProvider(&amp;lt;generated&amp;gt;)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at java.lang.reflect.Method.invoke(Method.java:498)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut     ... 58 common frames omitted
nifi-registry 2024-09-27 09:25:06,919 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut 2024-09-27 09:25:06,919 INFO [Thread-1] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server...
nifi-registry 2024-09-27 09:25:06,922 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut 2024-09-27 09:25:06,922 INFO [Thread-1] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@7a1ebcd8{HTTP/1.1,[http/1.1]}{0.0.0.0:18080}
nifi-registry 2024-09-27 09:25:06,922 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut 2024-09-27 09:25:06,922 INFO [Thread-1] org.eclipse.jetty.server.session node0 Stopped scavenging
nifi-registry 2024-09-27 09:25:07,787 INFO [main] o.a.n.registry.bootstrap.RunNiFiRegistry NiFi Registry never started. Will not restart NiFi Registry &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using helm chart to deploy this and the above pasted logs are my pod logs ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;While debugging I do see that the file is present inside the pod :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi@nifi-registry-custom-0:/opt/nifi-registry/nifi-registry-current/conf$ ls -lrth
total 112K
-rw-r--r-- 1 nifi nifi 1020 Dec 19  2019 registry-aliases.xml
-rw-r--r-- 1 nifi nifi 6.0K Dec 19  2019 identity-providers.xml
-rw-r--r-- 1 nifi nifi 2.1K Dec 19  2019 bootstrap.conf
-rw-r--r-- 1 nifi nifi 5.0K Aug 19  2020 providers.xml
-rw-r--r-- 1 root root 5.3K Sep 27 09:14 nifi-registry.temp
-rw-r--r-- 1 root root 6.7K Sep 27 09:14 login-identity-providers-ldap.xml
-rw-r--r-- 1 root root  21K Sep 27 09:14 authorizers.temp
-rw-r--r-- 1 nifi nifi 4.9K Sep 27 09:14 nifi-registry.properties
-rw-r--r-- 1 nifi nifi 6.7K Sep 27 09:14 login-identity-providers.xml&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and my login-indentity-providers.xml file contents are as below :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&amp;gt;
&amp;lt;!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  --&amp;gt;
&amp;lt;!--
    This file lists the identity providers to use when running securely. In order
    to use a specific provider it must be configured here and its identifier
    must be specified in the nifi-registry.properties file.
--&amp;gt;
&amp;lt;identityProviders&amp;gt;
    &amp;lt;!--
        Identity Provider for users logging in with username/password against an LDAP server.
        
        'Authentication Strategy' - How the connection to the LDAP server is authenticated. Possible
            values are ANONYMOUS, SIMPLE, LDAPS, or START_TLS.
        
        'Manager DN' - The DN of the manager that is used to bind to the LDAP server to search for users.
        'Manager Password' - The password of the manager that is used to bind to the LDAP server to
            search for users.
            
        'TLS - Keystore' - Path to the Keystore that is used when connecting to LDAP using LDAPS or START_TLS.
        'TLS - Keystore Password' - Password for the Keystore that is used when connecting to LDAP
            using LDAPS or START_TLS.
        'TLS - Keystore Type' - Type of the Keystore that is used when connecting to LDAP using
            LDAPS or START_TLS (i.e. JKS or PKCS12).
        'TLS - Truststore' - Path to the Truststore that is used when connecting to LDAP using LDAPS or START_TLS.
        'TLS - Truststore Password' - Password for the Truststore that is used when connecting to
            LDAP using LDAPS or START_TLS.
        'TLS - Truststore Type' - Type of the Truststore that is used when connecting to LDAP using
            LDAPS or START_TLS (i.e. JKS or PKCS12).
        'TLS - Client Auth' - Client authentication policy when connecting to LDAP using LDAPS or START_TLS.
            Possible values are REQUIRED, WANT, NONE.
        'TLS - Protocol' - Protocol to use when connecting to LDAP using LDAPS or START_TLS. (i.e. TLS,
            TLSv1.1, TLSv1.2, etc).
        'TLS - Shutdown Gracefully' - Specifies whether the TLS should be shut down gracefully 
            before the target context is closed. Defaults to false.
            
        'Referral Strategy' - Strategy for handling referrals. Possible values are FOLLOW, IGNORE, THROW.
        'Connect Timeout' - Duration of connect timeout. (i.e. 10 secs).
        'Read Timeout' - Duration of read timeout. (i.e. 10 secs).
       
        'Url' - Space-separated list of URLs of the LDAP servers (i.e. ldap://&amp;lt;hostname&amp;gt;:&amp;lt;port&amp;gt;).
        'User Search Base' - Base DN for searching for users (i.e. CN=Users,DC=example,DC=com).
        'User Search Filter' - Filter for searching for users against the 'User Search Base'.
            (i.e. sAMAccountName={0}). The user specified name is inserted into '{0}'.

        'Identity Strategy' - Strategy to identify users. Possible values are USE_DN and USE_USERNAME.
            The default functionality if this property is missing is USE_DN in order to retain
            backward compatibility. USE_DN will use the full DN of the user entry if possible.
            USE_USERNAME will use the username the user logged in with.
        'Authentication Expiration' - The duration of how long the user authentication is valid
            for. If the user never logs out, they will be required to log back in following
            this duration.
    --&amp;gt;
    &amp;lt;provider&amp;gt;
        &amp;lt;identifier&amp;gt;ldap-identity-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.registry.security.ldap.LdapIdentityProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Authentication Strategy"&amp;gt;SIMPLE&amp;lt;/property&amp;gt;

        &amp;lt;property name="Manager DN"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="Manager Password"&amp;gt;&amp;lt;/property&amp;gt;

        &amp;lt;property name="TLS - Keystore"&amp;gt;/opt/nifi-registry/nifi-registry-current/conf/nifi-registry-custom-nifi-registry-0.nifi-registry-custom-nifi-registry-headless.local.svc.cluster.local/keystore.jks&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Password"&amp;gt;xxx&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Keystore Type"&amp;gt;jks&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore"&amp;gt;/opt/nifi-registry/nifi-registry-current/conf/nifi-registry-custom-nifi-registry-0.nifi-registry-custom-nifi-registry-headless.local.svc.cluster.local/truststore.jks&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Password"&amp;gt;xxx&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Truststore Type"&amp;gt;JKS&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Client Auth"&amp;gt;NONE&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Protocol"&amp;gt;TLS&amp;lt;/property&amp;gt;
        &amp;lt;property name="TLS - Shutdown Gracefully"&amp;gt;false&amp;lt;/property&amp;gt;

        &amp;lt;property name="Referral Strategy"&amp;gt;FOLLOW&amp;lt;/property&amp;gt;
        &amp;lt;property name="Connect Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;
        &amp;lt;property name="Read Timeout"&amp;gt;10 secs&amp;lt;/property&amp;gt;

        &amp;lt;property name="Url"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Base"&amp;gt;&amp;lt;/property&amp;gt;
        &amp;lt;property name="User Search Filter"&amp;gt;(cn={0})&amp;lt;/property&amp;gt;

        &amp;lt;property name="Identity Strategy"&amp;gt;USE_DN&amp;lt;/property&amp;gt;
        &amp;lt;property name="Authentication Expiration"&amp;gt;12 hours&amp;lt;/property&amp;gt;
    &amp;lt;/provider&amp;gt;

    &amp;lt;!--
        Identity Provider for users logging in with username/password against a Kerberos KDC server.

        'Default Realm' - Default realm to provide when user enters incomplete user principal (i.e. NIFI.APACHE.ORG).
        'Authentication Expiration' - The duration of how long the user authentication is valid for. If the user never logs out, they will be required to log back in following this duration.
    --&amp;gt;
    &amp;lt;!-- To enable the kerberos-identity-provider remove 2 lines. This is 1 of 2.
    &amp;lt;provider&amp;gt;
        &amp;lt;identifier&amp;gt;kerberos-identity-provider&amp;lt;/identifier&amp;gt;
        &amp;lt;class&amp;gt;org.apache.nifi.registry.web.security.authentication.kerberos.KerberosIdentityProvider&amp;lt;/class&amp;gt;
        &amp;lt;property name="Default Realm"&amp;gt;NIFI.APACHE.ORG&amp;lt;/property&amp;gt;
        &amp;lt;property name="Authentication Expiration"&amp;gt;12 hours&amp;lt;/property&amp;gt;
        &amp;lt;property name="Enable Debug"&amp;gt;false&amp;lt;/property&amp;gt;
    &amp;lt;/provider&amp;gt;
    To enable the kerberos-provider remove 2 lines. This is 2 of 2. --&amp;gt;
&amp;lt;/identityProviders&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My properties file contents are :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# security properties #

nifi.registry.security.keystore=/opt/nifi-registry/nifi-registry-current/conf/nifi-registry-custom-nifi-registry-0.nifi-registry-custom-nifi-registry-headless.default.svc.cluster.local/keystore.jks
nifi.registry.security.keystoreType=jks
nifi.registry.security.keystorePasswd=xxx
nifi.registry.security.keyPasswd=xxx
nifi.registry.security.truststore=/opt/nifi-registry/nifi-registry-current/conf/nifi-registry-custom-nifi-registry-0.nifi-registry-custom-nifi-registry-headless.default.svc.cluster.local/truststore.jks
nifi.registry.security.truststoreType=jks
nifi.registry.security.truststorePasswd=changeMe
nifi.registry.security.needClientAuth=
nifi.registry.security.authorizers.configuration.file=/opt/nifi-registry/nifi-registry-current/conf/authorizers.xml
nifi.registry.security.authorizer=file-provider
nifi.registry.security.identity.providers.configuration.file=/opt/nifi-registry/nifi-registry-current/conf/login-identity-providers.xml
nifi.registry.security.identity.provider=ldap-identity-provider&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However , I am not sure what the issue is .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone please help ?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 09:53:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Registry-Unbale-to-set-LDAP-Unable-to-load-the/m-p/394072#M248661</guid>
      <dc:creator>sha257</dc:creator>
      <dc:date>2024-09-27T09:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi Registry - Unbale to set LDAP - Unable to load the login identity provider configuration file at: /opt/nifi-registry/nifi-registry-current/conf/login-identity-providers.xml</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Registry-Unbale-to-set-LDAP-Unable-to-load-the/m-p/394083#M248663</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/117647"&gt;@sha257&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The provider as shared is missing required configurations&amp;nbsp;Manager DN, Manager password, URL, and User Search Base.&amp;nbsp; Perhaps you just blanked these out for this post.&amp;nbsp; Since this is an xml format file, make sure that you are properly escaping any XML special characters if used in any of the property values.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;XML Special Character:&lt;/TD&gt;&lt;TD width="50%"&gt;Replacement escape value:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;"&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;quot;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;'&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;apos;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&amp;lt;&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;lt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&amp;gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&amp;amp;&lt;/TD&gt;&lt;TD width="50%"&gt;&amp;amp;amp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;if any of these are used without being escaped, the xml will be invalid a not able to be loaded.&lt;BR /&gt;&lt;BR /&gt;I also see that you have configured the&amp;nbsp;Authentication Strategy as SIMPLE which means your using ldap and not ldaps; however, I see that you have configured the TLS keystore and truststore properties.&amp;nbsp; That is not an issue, unless your ldap URL is really secured requiring either the LDAPS or START_TLS "Authentication Strategy" to be set.&lt;BR /&gt;&lt;BR /&gt;For your&amp;nbsp;User Search Filter, try changing that from "(cn={0})" to just "cn={0}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;Most common issue is use of special characters within XML field property values like passwords that have not been escaped properly.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 13:29:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Registry-Unbale-to-set-LDAP-Unable-to-load-the/m-p/394083#M248663</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-09-27T13:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi Registry - Unbale to set LDAP - Unable to load the login identity provider configuration file at: /opt/nifi-registry/nifi-registry-current/conf/login-identity-providers.xml</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Registry-Unbale-to-set-LDAP-Unable-to-load-the/m-p/394088#M248666</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&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;Thank you very much for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to setting up the Nifi registry and have been trying out most of the implementation from the official documentation .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes , I would like to use ldap and have been looking into these steps -&amp;nbsp;&lt;A href="https://nifi.apache.org/docs/nifi-registry-docs/html/administration-guide.html#ldap_identity_provider" target="_blank"&gt;https://nifi.apache.org/docs/nifi-registry-docs/html/administration-guide.html#ldap_identity_provider&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However , as per your answer , I understood that the&amp;nbsp;&lt;SPAN&gt;TLS keystore and truststore properties are not required for this - Did I understand it correct ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 14:15:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Registry-Unbale-to-set-LDAP-Unable-to-load-the/m-p/394088#M248666</guid>
      <dc:creator>sha257</dc:creator>
      <dc:date>2024-09-27T14:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi Registry - Unbale to set LDAP - Unable to load the login identity provider configuration file at: /opt/nifi-registry/nifi-registry-current/conf/login-identity-providers.xml</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Registry-Unbale-to-set-LDAP-Unable-to-load-the/m-p/394111#M248667</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/117647"&gt;@sha257&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The TLS properties need to be configured if your LDAP endpoint is secured meaning it requires LDAPS or START_TLS authentication strategies.&amp;nbsp; &amp;nbsp;Even when secured, you will alwasy need the TLS truststore, but may or may not need a TLS keystore (depends on your LDAP setup).&lt;BR /&gt;&lt;BR /&gt;For unsecured LDAP url access, the TLS properties are not necessary.&amp;nbsp; Even unsecured (meaning connection is not encrypted), the manager DN and manager Password are still going to be required to connect to the ldap server.&lt;BR /&gt;&lt;BR /&gt;Based on information shared, I cannot say what your ldap setup does or does not require.&amp;nbsp; You'll need to work with your ldap administrators to understand the requirements for connecting to your ldap.&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 15:45:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-Registry-Unbale-to-set-LDAP-Unable-to-load-the/m-p/394111#M248667</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-09-27T15:45:07Z</dc:date>
    </item>
  </channel>
</rss>

