Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SSL configuration not working - Ubuntu

Software Cloud
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 30, 2018

I have configure SSL per the documentation and i cannot get a secure connection, are there any logs i can look at to get further information, there's not cert issues, the page just does not load at all!!

 

i have changed my server.xml to...

 

<Server port="8000" shutdown="SHUTDOWN" debug="0">

    <Service name="Tomcat-Standalone">

        <Connector port="8090" connectionTimeout="20000" redirectPort="8443"

                maxThreads="48" minSpareThreads="10"

                enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"

                protocol="org.apache.coyote.http11.Http11NioProtocol" />

 

        <Engine name="Standalone" defaultHost="localhost" debug="0">

 

            <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">

                <Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">

                    <!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->

                    <Manager pathname="" />

                    <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />

                </Context>

 

                <Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0" reloadable="false" useHttpOnly="true">

                    <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />

                </Context>

            </Host>

 

        </Engine>

 

        <!--

            To run Confluence via HTTPS:

             * Uncomment the Connector below

             * Execute:

                 %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)

                 $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA  (Unix)

               with a password value of "changeit" for both the certificate and the keystore itself.

             * Restart and visit https://localhost:8443/

 

             For more info, see https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS

        -->

        <Connector port="8443" maxHttpHeaderSize="8192"

                   maxThreads="150" minSpareThreads="25"

                   protocol="org.apache.coyote.http11.Http11NioProtocol"

                   enableLookups="false" disableUploadTimeout="true"

                   acceptCount="100" scheme="https" secure="true"

                   clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" SSLEnabled="true"

                   URIEncoding="UTF-8" keystorePass="redacted" keystoreFile="/keystore/confluence2.jks"/>

    </Service>

</Server>

 

it's pretty standard but still does not work...

 

i had this working with no issues prior to an upgrade...

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 30, 2018

Hi there,

What version of Confluence are you running currently, and what was your previous version when the SSL worked?

Where was the SSL generated?

Lastly, what exactly do you see when the page doesn't load. Is there anything in your logs/catalina.out file?

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events