"java.security.UnrecoverableKeyException: Cannot recover key" error while configuring HTTPS on TIBCO Spotfire Server

"java.security.UnrecoverableKeyException: Cannot recover key" error while configuring HTTPS on TIBCO Spotfire Server

book

Article ID: KB0079980

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and higher

Description

While configuring HTTPS on the TIBCO Spotfire Server, the connection fails and you see the following error in the server logs:
SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-443]]
 org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-443]]
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
Caused by: java.lang.IllegalArgumentException: Cannot recover key
Caused by: java.security.UnrecoverableKeyException: Cannot recover key

Issue/Introduction

"java.security.UnrecoverableKeyException: Cannot recover key" error while configuring HTTPS on TIBCO Spotfire Server

Resolution

The error "java.security.UnrecoverableKeyException: Cannot recover key" occurs when the keystore and keyEntry passwords are different. To resolve this issue, you must remove all traces of the past certificate and request file. You must generate a new keystore, keyEntry and Certificate Signing Request (CSR) and specify the same password for the keystore and the keyEntry.

Please see references for more details.

Additional Information

Doc: Configuring HTTPS External: