chef-stash icon indicating copy to clipboard operation
chef-stash copied to clipboard

add the abbility to disable ssl

Open ramonskie opened this issue 11 years ago • 6 comments

i added a option to disable ssl if needed

ramonskie avatar Jan 03 '14 12:01 ramonskie

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

bflad avatar Jan 11 '14 23:01 bflad

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

ramonskie avatar Mar 25 '14 15:03 ramonskie

any update on this?

ramonskie avatar May 23 '14 12:05 ramonskie

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).

sunruh avatar Nov 10 '14 08:11 sunruh

@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

bflad avatar Jan 23 '15 02:01 bflad

@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.

sunruh avatar Jan 23 '15 11:01 sunruh