SSL Connector Fails to Initialize During Tomcat Startup

Still need help?

The Atlassian Community is here for you.

Ask the community


After starting Confluence, you are unable to connect to https://<BASE_URL>:8443. 

The following appears in catalina.out:

SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8443]]

org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8443]]


Caused by: /var/root/.keystore (No such file or directory)


The Keystore used to store the SSL certificates is not located in the default location. 


  • Edit the server configuration file at this location: <CONFLUENCE-INSTALL>/conf/server.xml
  • You will need to add the attribute  keystoreFile="<MY_CERTIFICATE_LOCATION>"  to the  Connector  element so that the element looks like this:

    <Connector port="8443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" SSLEnabled="true"
               URIEncoding="UTF-8" keystorePass="<MY_CERTIFICATE_PASSWORD>"

If you generated a self-signed certificate, the location will be in that user's home directory

Last modified on Apr 21, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.