Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confluence version 7.4.0 and new Tomcat version does not work out-of-the-box #200

Open
thonixx opened this issue Apr 28, 2020 · 1 comment

Comments

@thonixx
Copy link

thonixx commented Apr 28, 2020

Affected Puppet, Ruby, OS and module versions/distributions

  • Module version: 3.2.0

How to reproduce (e.g Puppet code you use)

Install Confluence version 7.4.0 with this module

What are you seeing

catalina.out: Caused by: java.lang.IllegalArgumentException: The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This combination is not valid.

What behaviour did you expect instead

no error about secretRequired="true"

Any additional information you'd like to impart

After consulting my favoured search engine it seems that Tomcat introduced a new default behaviour around March 2020 which requires to pass a secret to the AJP connector or to disable the security feature with secretRequired="false".

As I am no expert in Tomcat configurations I do not know which changes need to be done in the module to get the Tomcat working within this module. Just disabling the feature by setting it to false in server.xml seems a bad idea as some sources in the internet refer to a CVE called Ghostcat (see dev.lucee.org/t/tomcat-cve-2020-1938-ghostcat-ajp/6650/4).

@timdeluxe
Copy link
Contributor

FYI: This is already fixed in the repo, however there was no new release of the module since 2018 (i don't know why). If you want to have a working module in your setup put for example this into your Puppetfile instead of your current entry:
mod 'puppet-confluence', :git => 'https://github.com/voxpupuli/puppet-confluence', :ref => '847c6e3e8b05709ec136f503cb4fd4baf30786fc'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants