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

Skip host verification on loopback interface #1779

Merged
merged 3 commits into from
Jul 10, 2018
Merged

Conversation

jamesdphillips
Copy link
Contributor

What is this change?

As the Dashboard's API reverse proxy communicates via the loopback
interface we can safely skip host verification. Avoids receiving a 502
response when the server cert does not list localhost.

Why is this change necessary?

Fixes #1748.

Does your change need a Changelog entry?

Yes.

Do you need clarification on anything?

No.

Were there any complications while making this change?

Replicating the issue was frustrating.

Have you reviewed and updated the documentation for this change? Is new documentation required?

n/a

As the Dashboards API reverse proxy interface communicates via the
loopback interface we can safely skip host verification. Avoids
receiving a 502 response when the server cert does not list localhost.

Fixes #1748

Signed-off-by: James Phillips <jamesdphillips@gmail.com>
Signed-off-by: James Phillips <jamesdphillips@gmail.com>
@jamesdphillips jamesdphillips requested a review from palourde July 10, 2018 20:49
Copy link
Contributor

@palourde palourde left a comment

Choose a reason for hiding this comment

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

@palourde palourde merged commit deaa1ee into master Jul 10, 2018
@palourde palourde deleted the dashboardd/tls branch July 10, 2018 22:10
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.

2 participants