Store password errors seen after configuring SSL in Spectrum OneClick web server

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


Scenario seen; The SSL configuration in Spectrum OneClick web server is correct according to the user guide instructions but there are errors referencing problems with the store password when starting the web server in the web server log file.


When configuring the Spectrum OneClick tomcat web server for SSL one of the primary steps is to activate the following section of the $SPECROOT/tomcat/conf/server.xml file by uncommenting it, and by updating the keystoreFile value.

The default values in the server.xml file for those variables are:



If the keystorePass value has been customized, after doing so there may be errors seen in the Spectrum OneClick tomcat web server log that appear.

For example lets say that you work for company ABC and have modified the storepass password to be:


If that has been done the following error may be seen in the Spectrum OneClick tomcat web server log file (The log file is found in the $SPECROOT/tomcat/logs directory. On Windows systems it is named stdout.log and on Unix systems it is named catalina.out.):

     Aug 15, 2012 3:50:14 PM getTrustStore
    WARNING: The provided trust store password could not be used to unlock and/or validate the trust store. 
     Retrying to access the trust store with a null password which will skip validation. Password verification failed
     at org.apache.coyote.AbstractProtocol.init(
     at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(
     at org.apache.catalina.connector.Connector.initInternal(
     at org.apache.catalina.util.LifecycleBase.init(
     at org.apache.catalina.core.StandardService.initInternal(
     at org.apache.catalina.util.LifecycleBase.init(
     at org.apache.catalina.core.StandardServer.initInternal(
     at org.apache.catalina.util.LifecycleBase.init(
     at org.apache.catalina.startup.Catalina.load(
     at org.apache.catalina.startup.Catalina.load(
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
     at java.lang.reflect.Method.invoke(
     at org.apache.catalina.startup.Bootstrap.load(
     at org.apache.catalina.startup.Bootstrap.main(

This error is commonly caused by a file in the tomcat web server directory structure that was not automatically updated by Spectrum.

Examine the OneClickService.conf file found in the $SPECROOT/tomcat/bin directory. It should have two entries by default that appear as:

To resolve this problem:

  1. Stop the Spectrum OneClick tomcat web server. To do so:

    1a - On Windows launch the Services UI and stop the Spectrum Tomcat service
    1b - On Unix run the script from the $SPECROOT/tomcat/bin directory

  2. Edit the OneClickService.conf file as follows continuing with the above defined example to match the correct path to the cacerts file:


    Save the changes to the file.

  3. Start the Spectrum OneClick tomcat web server. To do so:

    3a - On Windows launch the Services UI and start the Spectrum Tomcat service
    3b - On Unix run the script from the $SPECROOT/tomcat/bin directory

At this point the error should be resolved and the web server should be accessible via SSL. If further errors continue to appear or the web server remains inaccessible, other problems may exist and a new support issue should be opened with Spectrum support for additional assistance.