ARM Technical Support Knowledge Articles

Server cannot start because of 'java.security.UnrecoverableKeyException: Cannot recover key'

Applies to: mbed Device Server

Answer

When you try to start either or both of the REST API and the Admin UI in secure mode, you receive the following error message:

java.security.UnrecoverableKeyException: Cannot recover key

The server cannot start because the keystore is invalid. There is a convention that the same password must be used for protecting the keystore and all the key pair entries in it.

To solve this problem:

  1. Re-generate the keystore using the same password everywhere.
  2. Set the configuration parameter keystore.password properly.

Article last edited on: 2015-02-25 13:12:19

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential