the fast, reliable localhost tunneling solution


Jira + https

2013-04-28, 21:05

Hi,

I have a problem setting up Jira in a way that I can use it consistently via https.

"/opt/atlassian/jira/bin/config.sh" provides three options: http only, http -> https, https only.

When using the first option and connecting via https://kite-url Jira seems to a) consistently redirect https://kite-url/ to http://kite-url/some-jira-file.jspa and b) randomly send me back to the http version (even though I have set it up to use https://kite-url as the base url).

When using option 2 or 3 https://kite-url will raise a download dialog (it shows the same behavior when I enabledoption 3 and connect to http://local-server-url).

What can I do?

All the best, Keith

Comments

  1. pguth said on 2013-05-04, 03:14
    1. Modify "/opt/atlassian/jira/conf/server.xml": replace your connector with:

    <!-- Apache Proxy Connector -->
    <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true" scheme="https" proxyName="<your_kite>.pagekite.me" proxyPort="443"/>

    <!-- Standard HTTP Connector -->
    <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8081" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true"/>

    2. Turn gzip off.


    Source: https://confluence.atlassian.com/disp...).
    Permalink

Leave a comment

( (Please leave these blank: )

We use Gravatar for commenter's photos. Get your own, it's free!