-
Notifications
You must be signed in to change notification settings - Fork 271
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
Trouble configuring ssl for web site #900
Comments
It's common to deploy with one public CA that signed the cert but a different for authentication. Foreman relies on SSL client certificates for Smart Proxy authentication and we chose not to support an insecure setup. That is the reasoning. Is there anything that we missed? |
I don't quite understand. Is the certificates used for the Apache web server the same as the ones used for the Smart Proxy? |
When the Smart Proxy connects to Foreman, it uses SSL client certificates. These are validated using a CA specified in More concretely. Let's say I never assumed anyone would configure Apache globally this way and thus you need to configure the vhost correctly. |
Oh I don't intend to do anything strange. I just want to provide a signed cert on the web site. But I suppose I misunderstood how that is supposed to be configured in the puppet interface. I still don't understand how I should do that. |
@Ariakenom As well explained by @ekohl , just use your « signed cert for the web site » file as |
Oh I see. Trying that I get an ssl error in the browser and the browser shows the |
So does that answer your question and can we close this? |
@Ariakenom AFAIU, your goal is to setup a Foreman instance which is exposed on Internet or internally with your own certs, for example Let's encrypt ones, to have trusted connection out-of-the box in your browser. Set |
Oh that does indeed work for other puppets. I didn't notice because I was testing the configuration by running puppet on the foreman server itself and that does not work. I think the issue is that it uses the web cert as the client cert. |
@Ariakenom I think you should be more explicit on the found issue and rename the title of this issue according to your found. |
Sry. Of course. Previously we had a foreman server with a ssl config like this.
I'm trying to make the foreman web site serve a cert signed by corporate CA and tried this.
When I try to apply this with
|
Could you confirm that the |
I was wrong, |
With that, can this issue be regarded as solved and closed? |
I don't know if that was relevant. It was not part of the previous description. Does the (This description)
|
I tried to configure the module with a particular SSLCertificateFile ($server_ssl_cert) and SSLCertificateKeyFile ($server_ssl_key) but not configure a SSLCertificateChainFile ($server_ssl_chain) or SSLCACertificateFile ($server_ssl_ca).
As far as I can tell puppet-foreman uses undef for its own defaulting so you cant get Apache's default behavior. So you have to have Apache configured with those two, which seems unfortunate.
The text was updated successfully, but these errors were encountered: