Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Apache proxy Jira HTTPS

Ghaith Haddad August 23, 2019

Hello everyone,

 

So i have apache2 and jira installed on the same server. i created and signed my own rootCA and server certificates. Now how can i have jira route all http requests to apache2 proxy so that i can have an https connection?

 

right now when i go to my server's url eg: server.com i am taken to the apache homepage i can't even get to jira anymore before when i used to go to server.com:8080 i would be routed to the jira dashboard but not anymore after i installed apache2.

 

Any help or suggestions is greatly appreciated!

 

Thanks in advance!

2 answers

0 votes
Kurt Klinner
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.
August 23, 2019

@Ghaith Haddad 

 

Hi Ghaith

 

were do you want to terminate your ssl session. At the apache server (which i would suggest) or directly at jira?

 

Cheers

Kurt

Ghaith Haddad August 26, 2019

what do you mean by terminate the ssl session?

Kurt Klinner
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.
August 26, 2019

@Ghaith Haddad 

 

One options is

User/Browser -> https -> Apache -> http -> Jira

another

User/Browser -> https -> Jira

The first one is a quite common one.

 

Cheers

Kurt

0 votes
Kurt Klinner
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.
August 23, 2019

@Ghaith Haddad 

 

Hi Ghaith

a common scenario would be to do the ssl termination on the apache webserver and communicate with http between apache and jira

https://confluence.atlassian.com/adminjiraserver073/integrating-jira-with-apache-using-ssl-861253896.html

describes the required steps.

 

If you would like to do the ssl termination at jira directly follow https://confluence.atlassian.com/adminjiraserver/running-jira-applications-over-ssl-or-https-938847764.html

In that case your apache server should do a rewrite of all incoming http requests and redirect them to https

 

Cheers

Kurt

Ghaith Haddad August 23, 2019

Hello Kurt,

 

Thank you for the reply i will check it out now and let you know!

 

Cheers!

Like Kurt Klinner likes this
Ghaith Haddad August 23, 2019

im afraid that didnt solve my issue on the contrary it messed up my server.xml file and i had to restore it from the backup. Step 1, step 3: the lines is the part that did the damage, i don't know why although i copied and pasted what's in there?

 

i did change proxyname to my server's address. was i supposed to do anything else? and im kinda confused because it doesnt mention anything about using a certificate, can https/ssl still work even though there's no certificate for the server. FYI im still on part 1 i haven't touched the apache yet.

Suggest an answer

Log in or Sign up to answer