Repository navigation
crypto: migrate server TLS to rustls (server-core, pgwire) - #36086
Draft
jasonhernandez wants to merge 2 commits into
Draft
jasonhernandez wants to merge 2 commits into
jasonhernandez wants to merge 2 commits into
Conversation
Contributor
|
Thanks for opening this PR! Here are a few tips to help make the review process smooth for everyone. PR title guidelines
Pre-merge checklist
|
Add rustls, aws-lc-rs, hyper-rustls, rcgen, tokio-rustls workspace deps and the mz-ore `crypto` feature with FIPS-aware CryptoProvider helpers. Azure SDK forks patched to support reqwest-rustls-no-provider. Removes the rustls ban from deny.toml. Does NOT bump LaunchDarkly SDK (deferred to end of migration). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Switch the TLS acceptor in server-core and pgwire from openssl to rustls. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
jasonhernandez
force-pushed
the
jason/crypto-tls-2-server
branch
from
July 7, 2026 08:12
e4e901a to
fa32ae3
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Split 2/6 of the TLS migration from OpenSSL to rustls.
Migrates the server-side TLS acceptor used by pgwire and all services that accept inbound TLS connections:
openssl::SslAcceptorwithReloadingServerConfigfrom mz-tls-util. UpdateTlsCsrfProtectionto extract SNI from rustls instead of openssl.tokio-openssltotokio-rustls. Dropopenssldependency.Dependency chain
Test plan
cargo checkpasses for mz-server-core, mz-pgwire🤖 Generated with Claude Code
Part of SEC-218.