Using the command line

You can use the commands provided here to change the type of encryption using the command line.

About this task

idsldapmodify -D <adminDN> -w <adminPW> -i <filename>
where <filename>contains:
dn: cn=configuration
changetype: modify
replace: ibm-slapdPWEncryption
ibm-slapdPWEncryption: <password encryption mechanism>

Here, the ibm-slapdPWEncryption attribute can be assigned any of the 
following values: none,aes128,aes192,aes256,crypt,sha,ssha, md5
sha224, sha256, sha384, sha512, ssha224, ssha256, ssha384, ssha512,
pbkdf2-sha1, pbkdf2-sha224, pbkdf2-sha256, pbkdf2-sha384, or 
pbkdf2-sha512.

To cause the updated settings to take effect dynamically, issue the following idsldapexop command:
idsldapexop -D <adminDN> -w <adminPW> -op readconfig -scope single 
"cn=configuration" ibm-slapdPWEncryption