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

(MODULES-1457) apache::vhost: SSLCACertificatePath can't be unset #913

Merged
merged 1 commit into from
Oct 28, 2014
Merged

(MODULES-1457) apache::vhost: SSLCACertificatePath can't be unset #913

merged 1 commit into from
Oct 28, 2014

Conversation

vinzent
Copy link
Contributor

@vinzent vinzent commented Oct 24, 2014

The SSLCACertificatePath is always set. The check for @ssl_certs_dir only
covers "undef". As there is a default value in ::apache::params for
ssl_certs_dir it needs to be overriden with an empty string.

Right now the _ssl.erb template outputs 'SSLCACertificatePath ""' for an empty
string, which triggers a failing reload of httpd.

This patch just adds a "&& @ssl_certs_dir != ''" to the condition.

On a Puppet master passenger vhost it's probably security relevant setting,
as it enables all system CA signed certificates access.

Related patch: #787

The SSLCACertificatePath is always set. The check for @ssl_certs_dir only
covers "undef". As there is a default value in ::apache::params for
ssl_certs_dir it needs to be overriden with an empty string.

Right now the _ssl.erb template outputs 'SSLCACertificatePath ""' for an empty
string, which triggers a failing reload of httpd.

This patch just adds a "&& @ssl_certs_dir != ''" to the condition.

On a Puppet master passenger vhost it's probably  security relevant setting,
as it enables all system CA signed certificates access.

Related patch: #787
@igalic
Copy link
Contributor

igalic commented Oct 28, 2014

igalic added a commit that referenced this pull request Oct 28, 2014
…catepath

(MODULES-1457) apache::vhost: SSLCACertificatePath can't be unset
@igalic igalic merged commit a31f00e into puppetlabs:master Oct 28, 2014
@vinzent vinzent deleted the modules-1457-apache-sslcacertificatepath branch November 6, 2014 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants