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

Backport of Add SNI skip for client node configuration into release/1.0.x #2014

Conversation

hc-github-team-consul-core

Backport

This PR is auto-generated from #2013 to be assessed for backporting due to the inclusion of the label backport/1.0.x.

The below text is copied from the body of the original PR.


Changes proposed in this PR:

This adds a fix for where we were injecting an server name env variable to the gateway controller in the case of trying to connect to client agent nodes when we had an external server with an SNI override.

What that results in is a TLS certificate verification error because the controller, when attempting to talk to the client node, then winds up expecting the client certificate to match the external server's name.

How I've tested this PR:

Unit tested.

Checklist:

  • Tests added
  • CHANGELOG entry added

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/NET-2966/sni-fix-gateway-controller/promptly-pleasant-lionfish branch from 9a574b3 to d28bece Compare March 14, 2023 22:22
@andrewstucki andrewstucki merged commit f0f255a into release/1.0.x Mar 15, 2023
@andrewstucki andrewstucki deleted the backport/NET-2966/sni-fix-gateway-controller/promptly-pleasant-lionfish branch March 15, 2023 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants