Repository navigation
feat(admin): expose SSL validity and validate certificate key pairs - #14243
Open
qingtianbuyu wants to merge 4 commits into
Open
qingtianbuyu wants to merge 4 commits into
qingtianbuyu wants to merge 4 commits into
Conversation
qingtianbuyu
marked this pull request as ready for review
November 22, 2026 07:14
added 3 commits
November 27, 2026 13:43
…tificate-metadata
Manage plugin drafts and releases through the Admin API. Load active versions from etcd and support rolling back to bundled plugins.
Load active etcd plugin releases before considering configured Lua files. Default file loading to off and preserve active registry plugins during reloads.
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.
Description
Clients that manage certificates through the Admin API need the validity window to plan renewal. The API also needs to catch a mismatched certificate and private key when the configuration is submitted, before it reaches the data plane.
validity_startandvalidity_endas Unix seconds on SSL list and detail responses. Derive the dates from the first certificate in each PEM chain at read time.certs_validityin the same order ascerts, withnullentries for references or certificates whose dates cannot be parsed. Continue omittingkeyandkeysfrom SSL GET responses.PATCHvalidates the merged resource, so an existing mismatch must be corrected when that resource is updated. Expired certificates with matching keys can still be updated or disabled.Which issue(s) this PR fixes
Related to #1571, which requested SSL expiration metadata.
Validation
t/admin/ssl.t.make bundle-admin-api-specand verified that the generated bundle matches the committed file.git diff --checkpassed.Checklist