Management server unable to startup

Seeing the below error in the management server while trying to start the service:

This is for 4.16.01

2017-04-26 01:59:14,661 main ERROR - CredentialUtil.decrypt() : cannot decrypt - Ptime2work invalid block size Input length must be multiple of 16 when decrypting with padded cipher 
0 2 240
2 REPLIES 2

This error is caused because of a property setting in the security.properties file:

ldap.server.admin.password.encrypted=true 

...along with the presence of the following, which sets a default admin password in clear text:

ldap.server.admin.password=redhat

To eliminate the error, do one of the following and then restart the mgmt process.

  • Set ldap.server.admin.password.encrypted to false.
  • Or provide the password in an encrypted format.

This is applicable for all versions of OPDK.

@Akash Prabhashankar , Feel free to self accept your answer by clicking on "Accept" link below the answer when you self answer your question. It's perfectly fine to do that.