How do you terminate SSL in Tomcat for Synchrony?

We are currently in the process of getting Confluence to run over HTTPS. We are running windows server 2012 and are not using a reverse proxy. We have the cert installed and I have configured the server xml file so it is running over https, but we are getting the following error in the browser "this page is trying to load scripts from unauthenticated source". After checking the console in the developer tools of the chrome browser, the following error message was found. 

 

"Confluence.domain.com was loaded over HTTPS, but requested an insecure script 'http:/confluence/synchrony-proxy/resources/js/vendor/sockjs.min.js'. This request has been blocked; the content must be served over HTTPS"

1 answer

0 vote
Gonchik Tsymzhitov Community Champion Oct 04, 2017

Hi! 

 

Looks like you will spend a lot of time for terminate to ssl. 

Could you try to use revers proxy?

Because a lot of documentation based working with synchrony based on revers proxy. (e.g. nginx -> https://confluence.atlassian.com/confeap/running-confluence-behind-nginx-with-ssl-849150880.html)

You can see in this docs: 

https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html

a small quote:

 Avoid removing the http connector, as the Synchrony proxy health check, still requires HTTP. If you do not want to include the http connector, you can use the synchrony.proxy.healthcheck.disabled system property to disable the health check. You should also not disable the internal Synchrony proxy (by setting the synchrony.proxy.enabled system property to false) as this is known to cause problems when you're terminating SSL at Tomcat. 


And please review your synchrony design below this docs 
https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 2 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

37 views 2 3
Read article

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