Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

add the abbility to disable ssl #22

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

add the abbility to disable ssl #22

wants to merge 4 commits into from

Conversation

ramonskie
Copy link
Contributor

i added a option to disable ssl if needed

@@ -4281,6 +4281,8 @@
</welcome-file-list>

<!-- Require HTTPS for login -->
<% if node['stash']['ssl'] == true -%>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

== true is redundant and can be removed

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any changes here should also be done in web.xml.erb (for completeness).

@bflad
Copy link
Owner

bflad commented Jan 11, 2014

Have you had any luck testing? Any way I can help? Thanks!

@ramonskie
Copy link
Contributor Author

does still need verification?
because i use it for a while now

@ramonskie
Copy link
Contributor Author

any update on this?

@sunruh
Copy link

sunruh commented Nov 10, 2014

Some comments/suggestions resulting from a support case investigation together with Atlassian.

  • If secure=true is set on the Tomcat connector (which is the case if node['stash']['apache2'] is non-nil) The security-constraint in web.xml is not needed as Tomcat will always assume that a request is secure and will never redirect. URLs generated by JIRA will also always be based below <scheme>://<proxyName>:<proxyPort> unless the display URL is changed in JIRA (which would generate a warning message in the UI).
  • As the Apache webapp will only ever connect to the HTTP connector of Tomcat, the HTTPS connector and SSL certificate generation could be left out from the recipe.
  • Regarding the deactivation of SSL, I would suggest to disable it if node['stash']['tomcat']['ssl_port'] == -1 rather then indroducing a new attribute.

@bflad If you want me to, I could prepare a PR containing this cleanup (including the possibility to disable SSL). Also have a change which I have to integrate for our internal Stash 3.4 <-> JIRA Applink integration which requires an additional Tomcat connector if behind a reverse proxy (this is the result from the support case with Atlassian).

@bflad
Copy link
Owner

bflad commented Jan 23, 2015

@ramonskie sorry I never responded to this. Is anyone else using this branch? @sunruh I'd love to see a PR if you have the time, seems very useful to support that situation

@sunruh sunruh mentioned this pull request Jan 23, 2015
@sunruh
Copy link

sunruh commented Jan 23, 2015

@bflad I just created PR #56 as a replacement for this one. Regarding the 2nd change regarding the App link between Stash and JIRA, I will have to re-investigate again with the current releases of both.

@legal90 legal90 mentioned this pull request Feb 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants