Skip to main content
Scharan
Gold ⭐️
Gold ⭐️
Sep 4, 2019 5:45 PM UTC

How to encrypt Ldap bind password in zeppelin shiro configuration

  • Oct 5, 2026 8:59 AM UTC
  • 0 replies
  • 1501 views
  • Translate All

To encrypt LDAP bind password in zeppelin Shiro configuration follow below steps:


1. Removed system password line from the config (this line contained the password for the system user that is doing the LDAP lookups) 
2. Added the following line in shiro.ini: 

 

ldapRealm.hadoopSecurityCredentialPath=jceks://file/home/zeppelin/conf/zeppelin.jceks 

 

3. Run the following command as Zeppelin user on Zeppelin host: 

 

# hadoop credential create ldapRealm.systemPassword -provider jceks://file/home/zeppelin/conf/zeppelin.jceks 
#Entered password <test>

 

Where <test> is my password

 

4. Confirmed that file has 700 attributes 
5. Restart Zeppelin