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-2834) Support SSLProxyCheckPeerCN and SSLProxyCheckPeerName … #1268

Merged
merged 1 commit into from
Dec 2, 2015
Merged

(MODULES-2834) Support SSLProxyCheckPeerCN and SSLProxyCheckPeerName … #1268

merged 1 commit into from
Dec 2, 2015

Conversation

traylenator
Copy link
Contributor

…settings

Allows SSLProxyCheckPeerCN and SSLProxyCheckPeerName to be set on
an SSL enabled vhost.

apache::vhost{'foo':
   ssl_proxy_check_peer_cn   => 'on',
   ssl_proxy_check_peer_name => 'on'
}

results in

SSLProxyCheckPeerCN  on
SSLProxyCheckPeerName on

apache configuration with in a vhost.

…settings

Allows SSLProxyCheckPeerCN and SSLProxyCheckPeerName to be set on
an SSL enabled vhost.

```puppet
apache::vhost{'foo':
   ssl_proxy_check_peer_cn   => 'on',
   ssl_proxy_check_peer_name => 'on'
}
```

results in

```
SSLProxyCheckPeerCN  on
SSLProxyCheckPeerName on
```

apache configuration with in a vhost.

* https://tickets.puppetlabs.com/browse/MODULES-2834
* http://httpd.apache.org/docs/current/mod/mod_ssl.html#sslproxycheckpeercn
* http://httpd.apache.org/docs/current/mod/mod_ssl.html#sslproxycheckpeername
@igalic
Copy link
Contributor

igalic commented Nov 19, 2015

i'd rather we used bool2httpd here, but…

with the benefit of over a year of experience, i'm now seeing @hunner's points against this particular function being a pass-through…

perhaps what we need, is also a validate_httpd_bool(), which takes an optional argument à la validate_re().

@@ -3164,6 +3164,15 @@ Sets the [SSLProxyMachineCertificateFile](http://httpd.apache.org/docs/current/m
}
~~~

##### `ssl_proxy_check_peer_cn`
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you move this above the section ssl_proxy_machine_cert as to keep the params in alphabetical order?

@bmjen
Copy link
Contributor

bmjen commented Nov 23, 2015

I'm ok with this change provided the readme update. @igalic do you still have any objections? Your last comment was unclear.

ckaenzig added a commit to ckaenzig/puppetlabs-apache that referenced this pull request Nov 25, 2015
RewriteRules and ProxyPass directives can require SSLProxy*
configurations even if SSLEngine is not enabled.

This PR should be updated with options added in puppetlabs#1268 once
it is merged.
ckaenzig added a commit to ckaenzig/puppetlabs-apache that referenced this pull request Nov 25, 2015
RewriteRules and ProxyPass directives can require SSLProxy*
configurations even if SSLEngine is not enabled.

This PR should be updated with options added in puppetlabs#1268 once
it is merged.
ckaenzig added a commit to ckaenzig/puppetlabs-apache that referenced this pull request Nov 25, 2015
RewriteRules and ProxyPass directives can require SSLProxy*
configurations even if SSLEngine is not enabled.

This PR should be updated with options added in puppetlabs#1268 once
it is merged.
igalic added a commit that referenced this pull request Dec 2, 2015
(MODULES-2834) Support SSLProxyCheckPeerCN and SSLProxyCheckPeerName …
@igalic igalic merged commit 61fe6ad into puppetlabs:master Dec 2, 2015
@sergehardy
Copy link

SSLProxyCheckPeerName was not a valid directive in Apache v2.2, so using this option leads to an error in that case.

http://httpd.apache.org/docs/2.2/mod/mod_ssl.html

@traylenator traylenator deleted the sslopts branch June 22, 2017 09:41
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.

5 participants