Forums

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

Running Confluence Over SSL (HTTPS)

Aussupport July 28, 2014

HI All,

Follow this https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS

now i cannot restart the services?

Any idea?

AS

8 answers

0 votes
bob sie
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!
February 25, 2017

Running confluence over ssl or https .http://youtube.com/watch?v=1FJjdaeh-eY

0 votes
Giuliano C_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 7, 2014

Hey Asela,

We could see that the last comment from Atlassian was related to pointing to an expert in order to configure the TMG 2010, right? Given that, can you share which solution have you searched, so if other users face the same behaviour, we can take a look at this answers post for reference? :)

Cheers,

Giu

0 votes
Aussupport August 6, 2014

Thanks all sorted

Dave Browning
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!
May 20, 2015

How did you fix?

Admin KavNiya February 10, 2021

Let me know how did you fix this?

0 votes
Aussupport July 30, 2014
  1. Where is the tomcat logs?
    • <confluence-install>/logs/catalina.out
    • <confluence-home>/logs/atlassian-confluence.out
0 votes
Aussupport July 28, 2014

Hi All,

Now i have manged to start the service with https://localhost:8090but cannot access https://localhost:8443/

Yes. redirect port: 8443

&lt;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="changeit"/&gt;
			   keystoreFile="C:\Program Files\Atlassian\Confluence\jre\lib\security/cacerts"

This keystorefile location is correct?

So we we cannot redirect to https? Any steps to troubleshoot?

As

Luciano Fagundes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 28, 2014

What does the tomcat logs says when you start up the application? Are you getting any binding exception on port 8443?

Aussupport July 30, 2014

HI, Create the support Request Reference: CSP-127923 but still couldn't find the solutions?

two days sending emails...

As

0 votes
Aussupport July 28, 2014

HI

Very new to Conflunce and now i can start the service after i copy back from the backup.

so port 443 is not the issue. but when i go to the https://conflunce.mydomain.comnothing works.

also my ssl certificate is wildcard certificate *.externaldomain.com .

which log file should i looked or post?

As

Sabine Winkler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2014

What do you mean by "port 443 is not the issue" - have you tried to start your service with the SSL Connector using 8443 (you have to reconfigure the HTTP Connector redirectPort too). Is this working or not?

What do you mean be "nothing works" - what is the browser telling, can you get your certificate?

@Logs: confluence\data\logs\atlassian-confluence.log --> Might be a huge file, so log if there are any exceptions or errors

HTH, Sabine

0 votes
Aussupport July 28, 2014

HI,

&lt;Server port="8000" shutdown="SHUTDOWN" debug="0"&gt;
    &lt;Service name="Tomcat-Standalone"&gt;
        &lt;Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8090" minProcessors="5" maxProcessors="75"
                   enableLookups="false" redirectPort="443" acceptCount="10" debug="0" connectionTimeout="20000"
                   useURIValidationHack="false" URIEncoding="UTF-8" keystorePass="changeit"
                   &lt;Engine name="Standalone" defaultHost="localhost" debug="0"&gt;
            &lt;Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false"&gt;

                &lt;Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"&gt;
                    &lt;!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --&gt;
                    &lt;Manager pathname="" /&gt;
                &lt;/Context&gt;
            &lt;/Host&gt;

        &lt;/Engine&gt;

        &lt;!--
            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 http://confluence.atlassian.com/display/DOC/Adding+SSL+for+Secure+Logins+and+Page+Security
        --&gt;

        &lt;Connector port="443" 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="changeit"/&gt;
				   keystoreFile="C:\Program Files\Atlassian\Confluence\jre\lib\security/cacerts"/&gt;
    &lt;/Service&gt;
&lt;/Server&gt;

Sabine Winkler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2014

Hi,

ok, you are using the standard SSL port 443. Is this port free (no Apache or other process using this port). Can you start the server if you try to use 8443? Just to check if it is an port issue.

HTH, Sabine

Sabine Winkler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2014

According to issues triggered by the certificate please check if you have one of the following exceptions in your Confluence/Tomcat Log:

http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Troubleshooting

HTH, Sabine

0 votes
Sabine Winkler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2014

Hi,

can you provide more details to the changes you made? Version you are using? server.xml etc. Any log file available. For example - the connector might not start because of port already in use by another process.

Thx, Sabine

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events