Repository navigation
Revert "Fail fast on invalid certificates at TLS config load (#2999)" - #3572
Merged
madolson merged 1 commit intoApr 27, 2026
Merged
Conversation
β¦io#2999)" This reverts commit eb3f465. Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
murphyjacob4
approved these changes
Apr 27, 2026
yang-z-o
approved these changes
Apr 27, 2026
sarthakaggarwal97
marked this pull request as ready for review
April 27, 2026 18:40
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 9.1 #3572 +/- ##
==========================================
- Coverage 74.57% 74.46% -0.11%
==========================================
Files 130 130
Lines 72731 72731
==========================================
- Hits 54239 54161 -78
- Misses 18492 18570 +78
π New features to boost your workflow:
|
madolson
approved these changes
Apr 27, 2026
madolson
left a comment
Member
There was a problem hiding this comment.
Tests seem unrelated, we should be able to just merge this.
Member
|
Not going to wait for valgrind. |
sarthakaggarwal97
added a commit
to sarthakaggarwal97/valkey
that referenced
this pull request
Apr 27, 2026
β¦o#3572) Revert of valkey-io#2999 (Prevent invalid TLS certificates from being loaded) was decided by TSC as it is a breaking change, deferred to next major. Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
This was referenced May 3, 2026
Open
1 of 10 tasks
madolson
added a commit
that referenced
this pull request
Nov 24, 2026
Fixes #5506 Since 9.2.0, valkey-server refuses to configure TLS when any certificate it loads is outside its validity period, so an expired old root left in a `tls-ca-cert-file` bundle after a CA rotation stops the server from starting, even though OpenSSL would never build a chain through that cert. 9.1.3 starts fine on the same files. The checks came from #2999 and #3522, which the TSC decided were a breaking change: #3572 reverted them from 9.1 and the plan was to land them in the next major, but the next release turned out to be 9.2 rather than 10.0 and the revert was never carried over. These two commits revert them from the 9.2 branch so 9.x behaves like 9.1 again; `unstable` keeps them for 10.0. This was generated by AI but verified, with love, by a human. --------- Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
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.
This reverts commit eb3f465.
As discussed in the TSC Core Meeting, this PR reverts #2999 from Valkey 9.1. We plan to do in next major version as it's a breaking change.
Note: Merge conflicts in
src/tls.cincludes were resolved due to overlapping changes from PR #2913, which addedtlsUpdateCertInfoFromDir()with shared header dependencies.