confluence https problem

We have been running confluence 5.6.3 over http. Now we find that we have issues with the Office connector when not running over SSL.

I wanted to test this on our sandbox instance, which has no DNS name, I followed the instructions here:

If I enter the URL like this "https://<IP ADDRESS>:8090 I get an SSL connection error: ERR_SSL_PROTOCOL_ERROR

When I generated the self signed cert I entered the IP Address when asked for "first and last name". 

Could this be the problem?

I generated my keypair/cert like this:


keytool -genkeypair -alias tomcat -keyalg RSA -keystore /var/atlassian/atlassian.keystore
Enter keystore password:
Re-enter new password:
What is your first and last name?
[Unknown]: <REPLACED>:8090
What is the name of your organizational unit?
What is the name of your organization?
What is the name of your City or Locality?
What is the name of your State or Province?
What is the two-letter country code for this unit?
Is CN=<REPLACED>:8090, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown correct? (type "yes" or "no")
[no]: yes

Enter key password for <tomcat>:
(RETURN if same as keystore password):


In the above I have replaced my actual IP with "<REPLACED>".

My server.xml looks like this: 

&lt;Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" SSLEnabled="true"




2 answers

1 accepted

0 votes
Accepted answer

HTTPS connection goes to port 8443 and not to 8090. In the document you mentioned look at step 4:

Step 4. Change your Confluence Base URL to HTTPS

  1. In your browser, go to the Confluence Administration Console.
  2. Change the Server Base URL to HTTPS. See the documentation on configuring the server base URL.
  3. Restart Tomcat and access Confluence on https://<MY_BASE_URL>:8443/.

Did you try to connect to https://<MY_BASE_URL>:8443 ?

I re-read the documentation and cam to the same conclusion. Works now. Thanks for the answer!

P.S. I have also tried generating the keypair/cert based just on the IP maddress without the port number, which is I am sure the correct way to do this. No difference.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

889 views 45 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you