Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print better errors for CA matching #42970

Open
strawgate opened this issue Mar 1, 2025 · 2 comments
Open

Print better errors for CA matching #42970

strawgate opened this issue Mar 1, 2025 · 2 comments
Labels
needs_team Indicates that the issue/PR needs a Team:* label

Comments

@strawgate
Copy link
Contributor

When we use a trusted fingerprint for our ca, the behavior is very different than using a ca cert.

Let's make this behavior super friendly to users and instead of printing

no CA certificate matching the fingerprint let's add the fingerprint to the log message!

Similarly, if the peer certificate we're looking at does not contain a CA cert, because Elasticsearch's cert is not a full chain, let's print that too.

This way, everyone will be very happy

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 1, 2025
@botelastic
Copy link

botelastic bot commented Mar 1, 2025

This issue doesn't have a Team:<team> label.

@strawgate
Copy link
Contributor Author

If that PR merges I'll bump the lib dependencies in beats to close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

No branches or pull requests

1 participant