search cancel

Cannot recover key while enabling mutual SSL between LAC and Gateway

book

Article ID: 6913

calendar_today

Updated On:

Products

CA Live API Creator

Issue/Introduction

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

Environment

Release: ESPLGC99000-3.2-Espresso Logic
Component:

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