Showing results for 
Show  only  | Search instead for 
Did you mean: 
AppDynamics Team


What should I do if my EUM Server is unable to start because of below error?

Error Starting EUM Processor Server
 | Unable to create injector, see the following errors:

Error in custom provider, Failed to decrypt: Illegal key size or default parameters

Error in custom provider, 
Failed to decrypt: Input length must be multiple of 16 when decrypting with padded cipher.....


Cause And Solution

This error is mostly seen post-upgrade or during upgrades, which stops the EUM upgrade/startup or login process.
This usually happens when encrypted/obfuscated values in the are incorrect. In order to fix this, edit your file with the properties below and restart your EUM server
1. Change onprem.useEncryptedCredentials=true to false -->  onprem.useEncryptedCredentials=false
2. Set the password in plaintext for the below properties:
onprem.dbPassword=<<plaintext passowrd>>
onprem.credentialKey=<<plaintext passowrd>>
3. If the upgrade was from 4.0 to 4.5, you might also have to update the password in  <eum_server_home>/eum-processor/bin/ for the password property. 
4. Restart the EUM server.
If, however, you cannot use the plaintext passwords and you need to use encrypted passwords, you will need to regenerate the encrypted key for the the database password and obfuscated keys for the credential key. Then, update the file and restart the EUM Server.  The database password may not be decipherable using the key in use. You can follow the steps below to complete this for this process:

1. Generate a new credential store:
bin/ generate_ks -storepass <store_password>
2. Generate a new obfuscated password for the credential store:
bin/ obfuscate -plaintext <store_password>
3. Generate a new database password:
bin/ encrypt -storepass <store_password> -plaintext <DB_password>
4 After this, modify the file as:
onprem.dbPassword=<<output of 3 above>>
onprem.credentialKey=<<output of 2 above>>
5. Restart the EUM Server. 
For additional information on this change the credential keystore password for the EUM Database
click here
Version history
Last update:
‎10-03-2018 09:39 AM
Updated by: