Skip to content

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

Merged
andrewstucki merged 2 commits intorelease/1.0.xfrom
backport/NET-2966/sni-fix-gateway-controller/promptly-pleasant-lionfish
Mar 15, 2023
Merged

Backport of Add SNI skip for client node configuration into release/1.0.x#2014
andrewstucki merged 2 commits intorelease/1.0.xfrom
backport/NET-2966/sni-fix-gateway-controller/promptly-pleasant-lionfish

Conversation

@hc-github-team-consul-core
Copy link
Copy Markdown
Collaborator

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