Skip to content

Conversation

@gaurav-narula
Copy link
Contributor

A TLS handshake failure results in an INFO log with a generic message of SSL handshake failed. The absence of a stacktrace, which I believe is to avoid polluting the logs in case of a misbehaving client, makes it hard to diagnose the underlying cause of the handshake failure.

This change modifies the message to include the certificate failure reason which can provide a valuable hint to users regarding the underlying issue during an incident.

A TLS handshake failure results in an `INFO` log with a generic message
of `SSL handshake failed`. The absence of a stacktrace, which I
believe is to avoid polluting the logs in case of a misbehaving client,
makes it hard to diagnose the underlying cause of the handshake failure.

This change modifies the message to include the certificate failure
reason which can provide a valuable hint to users regarding the
underlying issue during an incident.
@gaurav-narula gaurav-narula changed the title MINOR: improve error message on cert validation failure MINOR: improve error message on TLS certificate validation failure Oct 22, 2025
@github-actions github-actions bot added triage PRs from the community clients small Small PRs labels Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clients small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant