Quantcast
Channel: Ephesoft Docs
Viewing all articles
Browse latest Browse all 478

LDAP/AD password Encryption

$
0
0

Steps to enable LDAP/AD password Encryption

There are two files in which changes need to be done for the password encryption

  • server.xml and
  • dcma-encyption.properties available

The files are present at following location

  • Ephesoft\JavaAppServer\conf\server.xml
  • Ephesoft\Application\WEB-INF\classes\META-INF\dcma-user-connectivity\user-connectivity.propertie

 

To enable password encryption for LDAP and AD following changes are needed.

  1. Change the className attribute in the <Realm … > tag in the server.xml
    By default the className attribute in the server.xml has the following value:
    <Realm className=”org.apache.catalina.realm.JNDIRealm“/>
    Change the value to the following:
    <Realm className=”com.ephesoft.realm.EphesoftRealm“/>
  2. Use an encrypted password for the connectionPassword attribute in the <Realm … > tag in the server.xml
    <Realm className=”com.ephesoft.realm.EphesoftRealm” connectionPassword = “mzoanUU1UD0rc1PvexuAKw==”/>
  3. Turn on the password.use_encryption property present in the dcma-encyption.properties available at :
    Ephesoft\Application\WEB-INF\classes\META-INF\dcma-encryption.password.use_encryption=true
  4. Use an encrypted password for the user.connectivity_password property in the dcma-userconnectivity.properties. user.connectivity_password=”mzoanUU1UD0rc1PvexuAKw==”

Password Encryption:

To encrypt the passwords the Encryptor.bat needs to be used available at the following location:

  • {Ephesoft-Installation-Directory}\Application\native\encryption\Encryptor.bat

On running the above .bat file, and it will ask for the password string that need to be encrypted.

C:\Users\jatinderjindal\Desktop\Password_Enc_1.PNG

The password string needs to be entered here and on pressing “Enter” the encrypted password is returned.

C:\Users\jatinderjindal\Desktop\Password_Enc_2.PNG


Viewing all articles
Browse latest Browse all 478

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>