Skip to content

Conversation

fioan89
Copy link
Collaborator

@fioan89 fioan89 commented Sep 22, 2025

When establishing TLS connections, SNI resolution may fail if the configured altHostname contains _ or any other characters not allowed by domain name standards (i.e. letters, digits and hyphens).

This change introduces a relaxed SNI resolution strategy which ignores the LDH rules completely. Because this change goes hand in hand with auth. via certificates, I was able to reproduce the issue only via UTs. At this point the official Coder releases supports only auth. via API keys.

When establishing TLS connections, SNI resolution may fail if the configured altHostname contains `_` or
any other characters not allowed by domain name standards (i.e. letters, digits and hyphens).

This change introduces a relaxed SNI resolution strategy which ignores the LDH rules completely.
Because this change goes hand in hand with auth. via certificates, I was able to reproduce the issue
only via UTs. At this point the official Coder releases supports only auth. via API keys.
@fioan89 fioan89 merged commit c00704d into main Sep 22, 2025
6 checks passed
@fioan89 fioan89 deleted the fix-sni-resolution branch September 22, 2025 21:27
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