Can you help setup Jira and Confluence on Linux with Apache reverse proxy using SSL?

Hey all you smart people out there.  I've got a functioning JIRA and Confluence environment using Apache and reverse proxy using SSL on Windows.  We've been having a lot of problems with crashing, and I've been asked to move it to Linux.  I'm not much of a Linux guru, but I do have my RHCSA so I can get around.  I am struggling with this environment though, and I'm wondering if anyone could help out with some of the configs like the httpd.conf and server.xml.  

Also, I'm hoping I can setup a good test environment with a self-signed cert, but I haven't gotten that working yet.  Do you know if it's even possible in this config?

I have a basic JIRA install working but other than that I've been struggling.  



1 answer



SSLPassPhraseDialog  builtin
SSLSessionCache         shmcb:/var/cache/mod_ssl/scache(512000)
SSLSessionCacheTimeout  300
SSLMutex default
SSLRandomSeed startup file:/dev/urandom  256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin

NameVirtualHost xx.xx.xx.xx:80
NameVirtualHost xx.xx.xx.xx:443

# Note that in my configuration, virtual hosts on 80 do redirect on 443. 
# We do not accept http traffic. Virtual host on port 80 omitted.


   # Easy, right ? I use AJP, but you can simply use another protocol
   ProxyPreserveHost   On

   ProxyPass / ajp://
   ProxyPassReverse / ajp://

   # SSL
   SSLEngine on
   SSLProtocol all -SSLv2

   SSLCertificateFile /etc/httpd/conf/server.crt
   SSLCertificateKeyFile /etc/httpd/conf/private.key
   SSLCertificateChainFile /etc/httpd/conf/intermediate.crt
   SSLCipherSuite HIGH:!aNULL:!MD5



Server.xml - no real change


  1. Make sure JIRA is listening to the port above (in my example 8515, by default 8080)
  2. No ssl needed between HTTPD & JIRA, unless you want to be paranoid. In this case the setup will be a bit different


"We've been having a lot of problems with crashing" - I'm not sure that if you move to Linux, things will be suddenly ok. Most probably, you are moving the problems, too smile

Edited: some explanations

True, it's worth looking into the causes of crashes before assuming that a change of OS is going to fix it. If the problem is an addon, you're not going to find much change (although it's Linux, so it's going to be easier to debug, fix and maintain...) On the bright side, Linux does tend to crash less than Windows, and a clean setup (rather than copying everything) is far more likely to land you with a stable system.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

382 views 6 0
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