Confluence could not run through SSL due to jsse.invalid_ssl_conf

Still need help?

The Atlassian Community is here for you.

Ask the community


After configuring Confluence to run through HTTPS/SSL, you can't connect to secure port, and the following appears in the catalina.out:

SEVERE: Error initializing endpoint jsse.invalid_ssl_conf
Caused by: No available certificate or key corresponds to the SSL cipher suites which are enabled.
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8443]]
LifecycleException:  Protocol handler initialization failed: jsse.invalid_ssl_conf
	at org.apache.catalina.connector.Connector.initialize(
	at org.apache.catalina.core.StandardService.initialize(


This error might be caused of certain things such as, the keystoretype is not defined in server.xml thus the JSSE could not recognized the keystore as the keystore is not on default type which is JKS. Other thing is the certificate has not be imported to keystore that is generated by  keytool as it does not let you import an existing private key for which you already have a certificate.


  1. You need to define the keystoreType to server.xml as the default one is JKS. For example under your server.xml would become 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>"
                       keystoreFile="<MY_CERTIFICATE_LOCATION>" keystoreType="PKCS12"/> 
  2. If it didn't help, you need to convert the current certificate and key file from the format that you have to DER format, and after that you need to import the key to keystore format, so that it will be recognized as normal JKS.

    For further reading and how-to regarding this steps you need to take, please refer to the following link. (Please take not on the format of your certificate and key)

    Import private key and certificate into Java Key Store (JKS)

    The Most Common OpenSSL Commands

Last modified on Mar 30, 2016

Was this helpful?

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