Skip to content

[3.x] Add ssl_peer_metadata option to expose client certificate details - #246

Open
lhuet wants to merge 2 commits into
logstash-plugins:3.xfrom
lhuet:feature/tls-peer-metadata-3x
Open

lhuet wants to merge 2 commits into
logstash-plugins:3.xfrom
lhuet:feature/tls-peer-metadata-3x

Conversation

@lhuet

@lhuet lhuet commented Nov 4, 2026

Copy link
Copy Markdown

Backport of #245 to 3.x, so it ships with Logstash 8.19. Both commits cherry-pick cleanly.

Tested with Logstash 8.19.24: Java tests pass and rspec shows the same 4 additional_codecs failures as without this change.

CHANGELOG.md / version are left to /pr_prepare (expected 3.12.0).

🤖 Generated with Claude Code

lhuet and others added 2 commits November 4, 2026 16:17
When mutual TLS is used, add the details of the client certificate
(status, subject, issuer, serial, validity, protocol, cipher suite,
common name, SHA-256 fingerprint, SANs) to `[@metadata]`, aligned with
the field names of the beats input. Requests headers prefixed with
`tls_peer_` are discarded so the values cannot be forged by a client.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nabled

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@lhuet
lhuet changed the base branch from main to 3.x November 5, 2026 08:30
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.

1 participant