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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

73 views 0 5
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