Skip to content

Add SNI skip for client node configuration#2013

Merged
andrewstucki merged 2 commits intomainfrom
NET-2966/sni-fix-gateway-controller
Mar 14, 2023
Merged

Add SNI skip for client node configuration#2013
andrewstucki merged 2 commits intomainfrom
NET-2966/sni-fix-gateway-controller

Conversation

@andrewstucki
Copy link
Copy Markdown
Contributor

@andrewstucki andrewstucki commented Mar 14, 2023

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

@andrewstucki andrewstucki added the backport/1.1.x Backport to release/1.1.x branch label Mar 14, 2023
@andrewstucki andrewstucki requested a review from a team March 14, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.1.x Backport to release/1.1.x branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants