Cannot recover key while enabling mutual SSL between LAC and Gateway

Document ID : KB000006913
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Mutual ssl between LAC and Gateway fails with below error

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-nio-8081"]

java.security.UnrecoverableKeyException: Cannot recover key

Cause:

Key password is not same as keystore password

Resolution:

Set the key password to be the same as keystore password. This can be done by using the following command

keytool -keypasswd -keystore /path/to/keystore.kst -alias <ssl>

 

In above command add correct path to your keystore and set the alias accordingly

Note: In above example ssl is the example alias name