Can two JIRA instances running on a widows server both use https?

Will November 2, 2016

I have two JIRA instances running on a Windows server.  Currently one is using HTTPS and the other is using HTTP.  Is there a way to have both JIRA instances use HTTPS?  My understanding is that port 443 is required for HTTPS and the first instance is already using that port.  Is there a way to work around this?  Any help is appreciated.

 

JIRA 7.1.6

MySQL 5.6.28

2 answers

1 accepted

0 votes
Answer accepted
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2016

Hi Will,

You can run https on other ports than 443. You can simply setup jira#2 to run on 4443 or any other free port. You best friend now is SNI, server name indication. By creating a multiname (alt_name cert) one ssl cert can cover 10 domains, but like mentioned in the oneliner you are better of frontending it with a mod proxy (apache) that can separate traffic going to https://jira1.example.com and https://jira2.example.com to it's individual ports.

2 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2016

You will need to setup a web server and proxy the requests to individual JIRA instsances based on their domains / context paths. You cant do it just by using the Tomcats.

Suggest an answer

Log in or Sign up to answer