Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How to resolve "Cannot recover key" error when EUM service fails to start

Problem

 

EUM service fails to start with the following error in the EUM server log:

 

29 Jan 2018 12:02:32.842 +0000 main dropwizard.ServerCommand ERROR

| Unable to start server, shutting down

| MultiException[java.security.UnrecoverableKeyException: Cannot recover key, java.security.UnrecoverableKeyException: Cannot recover key, java.util.concurrent.RejectedExecutionException: org.eclipse.jetty.util.thread.NonBlockingThread

 

Analysis

 

The password for the key-store specified in the EUM property is incorrect or it does not match the private key password. For EUM SSL implementation, the key-store password and the private key password must be the same. 

 

 

Solution

 

Ensure that the password for the keystore and the private key match, and are specified in the eum.properties file.

 

To change the private key password using the keytool command:

 

1. Take a backup of the EUM keystore.
2. Run the following command:

<Path to JAVA/bin>/keytool -keypasswd  -alias [Alias name for private key]  -keystore [path to key store]


3. Ensure that the new key password is the same as the key-store password. Verify the same password is being specified in the eum.properties file as well.
4. Restart EUM after making these changes.

 

Version history
Revision #:
2 of 2
Last update:
‎01-31-2018 08:40 AM
Updated by:
 
Labels (1)
Contributors
Tags (1)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
0 Kudos