Skip to content

Restrict HTTP/2 TLS cipher suites - #13428

Open
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:restrict-h2-ciphers
Open

Restrict HTTP/2 TLS cipher suites#13428
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:restrict-h2-ciphers

Conversation

@bneradt

@bneradt bneradt commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

HTTP/2 can currently be negotiated with TLS 1.2 cipher suites that
RFC 9113 prohibits. Clients that enforce the restriction can reject
those connections instead of falling back to HTTP/1.1.

This checks the pending cipher during ALPN selection and removes
HTTP/2 when its IANA identifier is prohibited. This also adds AuTest
coverage for permitted negotiation and HTTP/1.1 fallback.

Fixes: #5287

HTTP/2 can currently be negotiated with TLS 1.2 cipher suites that
RFC 9113 prohibits. Clients that enforce the restriction can reject
those connections instead of falling back to HTTP/1.1.

This checks the pending cipher during ALPN selection and removes
HTTP/2 when its IANA identifier is prohibited. This also adds AuTest
coverage for permitted negotiation and HTTP/1.1 fallback.

Fixes: apache#5287
Copilot AI review requested due to automatic review settings July 25, 2026 02:08
@bneradt bneradt added this to the 11.0.0 milestone Jul 25, 2026
@bneradt bneradt self-assigned this Jul 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Don't allow blacklisted HTTP/2 ciphers to use HTTP/2

3 participants