Edge Private Cloud 4.15.07 decrypt failure after upgrade

1 1 197

After an upgrade to Edge Private Cloud 4.15.07, Message Processors (MPs) may encounter the following decrypt errors on startup. These errors are harmless, but can be removed as described below.

MP errors on startup

You might see the following errors on every MP restart:

2015-12-10 20:13:46,896 org: env: main ERROR  - CredentialUtil.decrypt() : cannot decrypt - redhat invalid block size Input length must be multiple of 16 when decrypting with padded cipher 
2015-12-10 20:13:46,946 org: env: main ERROR  - CredentialUtil.decrypt() : cannot decrypt - redhat invalid block size Input length must be multiple of 16 when decrypting with padded cipher 
2015-12-10 20:13:46,979 org: env: main ERROR  - CredentialUtil.decrypt() : cannot decrypt - redhat invalid block size Input length must be multiple of 16 when decrypting with padded cipher

This error is caused by the presence of the following new property setting in the /opt/apigee4/conf/apigee/message-processor/security.properties file in 4.15.07:

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

Eliminating the error

To remove the error, do one of the following, then restart MPs:

  • Set ldap.server.admin.password.encrypted to false.
  • Delete the new line.
  • Comment the line out.

Keep in mind that MPs do not authenticate to LDAP.

Comments
jonesfloyd
Staff

Hey Corinna - Whenever you're ready, go ahead and move this to the relevant community. Thanks!

Version history
Last update:
‎01-07-2016 01:29 PM
Updated by: