-
Notifications
You must be signed in to change notification settings - Fork 38
Use correct CA variables in reverse proxy #515
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
Conversation
manifests/reverse_proxy.pp
Outdated
| ssl => true, | ||
| ssl_proxyengine => true, | ||
| ssl_proxy_ca_cert => $certs::ca_cert, | ||
| ssl_proxy_ca_cert => $certs::katello_default_ca_cert, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this the certificate we expect on the remote server (so Foreman)? https://httpd.apache.org/docs/current/mod/mod_ssl.html#sslproxycacertificatefile states:
This directive sets the all-in-one file where you can assemble the Certificates of Certification Authorities (CA) whose remote servers you deal with. These are used for Remote Server Authentication. Such a file is simply the concatenation of the various PEM-encoded Certificate files, in order of preference. This can be used alternatively and/or additionally to SSLProxyCACertificatePath.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at theforeman/puppet-certs@9585baa:
$ca_cert = "${pki_dir}/certs/${default_ca_name}.crt"
$katello_default_ca_cert = "${pki_dir}/certs/${default_ca_name}.crt"
so this is an equivalent change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this change,to fix tests I think we keep it equivalent. As for your point, this change dates back a long, long time to #54.
The configuration is not setting SSLProxyVerify explicitly, where as we do set SSLClientVerify (granted to optional) so I am guessing this setting doesn't actually matter or do anything at the moment.
0e585ab to
6ab0dd4
Compare
|
Updated. |
Signed-off-by: Eric D. Helms <[email protected]>
6ab0dd4 to
ab480be
Compare
The removal of parameters in puppet-certs that were not used internally were used externally -- this updates to use current canonical parameters.