Skip to content

Set explicit TLS minimum version on HTTPS server#190

Open
AnyCPU wants to merge 1 commit intobasecamp:mainfrom
AnyCPU:fix/min_tls_version_1
Open

Set explicit TLS minimum version on HTTPS server#190
AnyCPU wants to merge 1 commit intobasecamp:mainfrom
AnyCPU:fix/min_tls_version_1

Conversation

@AnyCPU
Copy link
Contributor

@AnyCPU AnyCPU commented Feb 15, 2026

The HTTPS server's tls.Config does not set MinVersion, relying on Go's runtime default (currently TLS 1.2). This default can be downgraded to TLS 1.0 via GODEBUG=tls10server=1 and could theoretically change in a future Go release.

The HTTP/3 server already sets MinVersion: tls.VersionTLS13 explicitly. This change brings the h1/h2 HTTPS server in line by setting MinVersion: tls.VersionTLS12.

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.

1 participant