Java.io.IOException: Cannot recover key with Spectrum Oneclick SSL configuration

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

Description:

When configuring SSL for Oneclick, you might get into the following exception in the stdout.log

org.apache.coyote.AbstractProtocol init
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8443"]
java.io.IOException: Cannot recover key

Solution:

This exception is a known issue with apache tomcat
Refer: http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html

Resolution is to make sure the private key password and keystore password are the same. If they differ, you will get an error along the lines of java.io.IOException: Cannot recover key

This is documented in Bugzilla 38217 which contains further references for this issue.