configure hosts for ActionDispatch::HostAuthorization middleware#471
configure hosts for ActionDispatch::HostAuthorization middleware#471evgeni wants to merge 3 commits into
Conversation
| --- | ||
| :foreman_url: {{ foreman_url }} | ||
|
|
||
| :hosts: |
There was a problem hiding this comment.
which makes me wonder, right now the parameter is --certificate-cname, but in reality this is not about certificates (only) [and we already identified that "cname" is wtong]
so should the parameter be something like --alternative-server-name
There was a problem hiding this comment.
I agree with the over-all principle here in a parameter that is above but feeds into certificates. Since naming is fun, other ideas:
--server-alias (how Apache defines it)
--server-name-alias
--subject-alternative-name (from certificates but still tied to that concept)
0445457 to
9cf9ade
Compare
|
the tests are failing because we use the IP address for smoker (as it runs on a system that has no working DNS towards the deployed foreman) and that's not allowed now. possible solutions:
|
6a61c77 to
e982d62
Compare
#305 is IMHO the easiest solution. |
Why are you introducing these changes? (Problem description, related links)
moar secure
What are the changes introduced in this pull request?
configure
hostsso that Rails can reject HTTP requests with invalidHostheadrsHow to test this pull request
test in the patch
Checklist