Problem with secure access to confluence (and jira) through "portal-feature" of security appliances like Fortigate or Checkpoint

Manuel Scharfy August 15, 2011

Hi,

we are evaluating Confluence and Jira as new tools for our software-devlopement. We solved nearly all problems, as long as the users are in our internal network. We want to use a secure 2-factor authentication for external access to this services for external developers. We tried to use the "Portal" feature from a Fortigate-Appliance (which is in fact some kind of reverse proxy), but ran into a lot of troubles. Basically it's working, but some features don't. E.g. in Confluence the Rich Text Editor isn't working (nothing is happening if we try to switch to this edit mode). Another problem exists in Jira with the "Create issue" button in the upper right corner (it's resetting the URL).

I think it's somehow related with ajax-reloads used for this functions. When using the "Portal" function of the Fortigate-Appliance, it creates a kind of Forwarding-URL like https://external.domain.com/proxy/http/jira.domain.loc/secure/Dashboard.jspa (jira.domain.loc is the internal address of jira, same with confluence.domain.loc)

With Jira it's possible to see the problem within the URL. The URL in the address bar of the browser is rewritten to something like https://external.domain.com/secure/CreateIssue.jspa?pid=10000&issuetype=7&Create=Create. As you can see, the entire proxy part is missing.

We also tried a similar feature implemeneted into a Checkpoint-Appliance and it has the same issues.

Any help or experiences with this matter would be very appreciated.

Thanks in advance!

Yours,
Manuel

1 answer

0 votes
AM March 25, 2012

Hi Manual,

unfortunately this won't work - check

https://confluence.atlassian.com/display/CONFKB/Various+Issues+Caused+when+Server+Base+URL+Does+Not+Match+the+URL+Used+to+Access+Confluence

If you really need your Fortinet or Checkpoint to protect JIRA/Confluence, the only option I could think of is fronting JIRA and Confluence with Apache and the extensivly usage of mod_rewrite.

Antonín Ečer April 7, 2020

Hi,

we have the same problem, If someone solved this mod_rewrite  I need know how.

Jakub Bobran June 3, 2020

I second this.

It seems that the issue is more and more painful for people.

 

edit: In my case it is both Confluence and Jira.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events