How does one allow IIS (8 in my case) to handle SSL and not Tomcat?

I have read some where that using IIS to proxy request to Tomcat, that IIS can handle all of the SSL encryption / decryption. What changes need to be made in the server.xml to insure that generated links in Jira show the https and not the http?

2 answers

1 accepted

Accepted Answer
0 votes
Pedro Souza Atlassian Team Jun 25, 2014

You need to add the conector to your serverl.xml:

<!-- Proxy Connector with values for scheme, proxyName and proxyPort -->
        <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="proxy.yourproxy.com" proxyPort="443"/>

Cheers,

Pedro Souza.

Ok, I assume that the 2 main items there are the scheme and proxyport. Now what about the base URL in the Jira Settings?

Pedro Souza Atlassian Team Jun 25, 2014

After configuring the connector, you will see a notification in your JIRA pages, asking for update the base URL to use the https, then you just need to update it directly on the general settings.

Thank you for your responses. Now, using the IIS ARR and UrlRewrite modules; would I change the rule to https://localhost:8443/{R:0}?

Ok, Pedro basically answered this question. Disregard my last comment, it is incorrect. The URL rewrite rule remains the same as a standard site without the SSL https.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,307 views 2 7
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