It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

HTTP to HTTPS redirection on confluence

Hi Team,

 

I would like to ask your help on applying SSL on confluence. We have done the steps from 1 - 5 of this document https://confluence.atlassian.com/conf613/running-confluence-over-ssl-or-https-964961473.html however, we encounter error on accessing the site. 

Redirection from old 8090 url is different from 8443 URL. For example:

Old HTTP URL is: http://servername:8090 
New HTTPS UR is: https://servername.domain.com:8443

When we change web.xml as stated in step 5 of this document https://confluence.atlassian.com/conf613/running-confluence-over-ssl-or-https-964961473.html, we encountered mismatched address issue on certificate. How can we delete or avoid or is there a way that we can set the new name on web.xml or server.xml files? Thank you.

mismatched_error.JPG

2 comments

Hi,

What is the site address you issued certificate for?

Our previous URL is  http://(servername):8090/ not FQDN. The certificate has FQDN means  servername.company.com

http://servername.company.com:8443/

We have done some proxying on the server.xml that resolves the problem.

Modify the server.xml, since we have working http://servername, we need to do proxying and comment out default port.

> Comment out the Connector port="8090" code block
>Uncomment Connector port="8443", you can change it to 443 so users will not adding 8443 at the end of the URL.
>Add <Connector port="8090" protocol="HTTP/1.1" proxyName="example.com" connectionTimeout="20000" redirectPort="443"> this is an addition for the redirection to work, you need to redirect the site to a different name say http://servername.com to https://example.com.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

33 views 2 4
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you