confluence and jira together ssl

Hello,

 

I've installed Confluence 5.6.1 and JIRA 6.3.4 on the same linux server (different tomcat instances) and this went fine.

I've them configured Confluence over SSL, using SSLPort=8443 and ConfluencePort=8090,this went fine as well ( http://confluence.url.com:8090 redirects to https://confluence.url.com:8443 )

I was now trying to configure JIRA over SSL, using SSLPort=8483 and JiraPort=8080 but whenever I try to access http://jira.url.com:8080 instead of redirecting to https://jira.url.com:8483 it redirects to https://confluence.url.com:8443 (???) 

Can anyone please advise what am I doing wrong?

 

/opt/jira/conf/server.xml : 

<Connector port="8483" protocol="org.apache.coyote.http11.Http11Protocol"

              maxHttpHeaderSize="8192" SSLEnabled="true"

              maxThreads="150" minSpareThreads="25"

              enableLookups="false" disableUploadTimeout="true"

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

              clientAuth="false" sslProtocol="TLS" useBodyEncodingForURI="true" keystoreFile="/home/jira/.keystore" keystorePass="(removed!)" keyAlias="tomcat"/>

 

/opt/jira/atlassian-jira/WEB-INF/web.xml

<security-constraint>

<web-resource-collection>

<web-resource-name>all-except-attachments</web-resource-name>

<url-pattern>*.jsp</url-pattern>

<url-pattern>*.jspa</url-pattern>

<url-pattern>/browse/*</url-pattern>

</web-resource-collection>

<user-data-constraint>

<transport-guarantee>CONFIDENTIAL</transport-guarantee>

</user-data-constraint>

</security-constraint>


</web-app>

 

Thanks in advance.

1 answer

1 accepted

Do yourself a favour and terminate SSL at an nginx or apache reverse proxy (nginx is better)

That way, at upgrade time, you don't have to muck with SSL at all

If you set JIRA and Confluence to listen on different ports on the localhost there is no way to bypass the proxy.  

This is a good starting point http://www.servicerocket.com/blog/2014/07/3-steps-in-set-up-nginx-as-proxy-server-for-atlassian-jira/

 

Hello David, Thank you for your advice. I'll implement this in the next couple of days. Many Thanks, Antonio

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,870 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot