Skip to content

Add OpenSSL support for TLS certificate compression#44443

Open
tedjpoole wants to merge 4 commits intoenvoyproxy:mainfrom
tedjpoole:openssl-cert-compression
Open

Add OpenSSL support for TLS certificate compression#44443
tedjpoole wants to merge 4 commits intoenvoyproxy:mainfrom
tedjpoole:openssl-cert-compression

Conversation

@tedjpoole
Copy link
Copy Markdown
Contributor

@tedjpoole tedjpoole commented Apr 14, 2026

Commit Message: Add OpenSSL support for TLS certificate compression
Additional Description:

  • Build OpenSSL with brotli and zlib compression enabled
  • Add compat implementation of SSL_CTX_add_cert_compression_alg()
  • Clear OpenSSL's default certificate compression preferences in SSL_CTX_new() to match BoringSSL's opt-in behavior
  • Remove ENVOY_SSL_OPENSSL guards so both backends use the same code
  • Add handshake tests to verify compression actually reduces bytes

Risk Level:
Testing: Added tests to verify the compression actually happens on the wire
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

- Build OpenSSL with brotli and zlib compression enabled
- Add compat implementation of SSL_CTX_add_cert_compression_alg()
- Clear OpenSSL's default certificate compression preferences in
  SSL_CTX_new() to match BoringSSL's opt-in behavior
- Remove ENVOY_SSL_OPENSSL guards so both backends use the same code
- Add handshake tests to verify compression actually reduces bytes

Signed-off-by: Ted Poole <tpoole@redhat.com>
Signed-off-by: Ted Poole <tpoole@redhat.com>
Signed-off-by: Ted Poole <tpoole@redhat.com>
Signed-off-by: Ted Poole <tpoole@redhat.com>
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