-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add logs for ca_trusted_fingerprint workflow #29312
Conversation
This pull request does not have a backport label. Could you fix it @belimawr? 🙏
NOTE: |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
This commit adds logs to clearly show when Beats is trusting a self-signed certificate through a fingerprint provided by ssl.ca_trusted_fingerprint. It also cleans up some struct tags on tlscommon.TLSConfig.
b62cb5f
to
fd29885
Compare
/test |
This commit adds logs to clearly show when Beats is trusting a self-signed certificate through the fingerprint provided by `ssl.ca_trusted_fingerprint`. It also cleans up some struct tags on `tlscommon.TLSConfig`. (cherry picked from commit db9b410) # Conflicts: # libbeat/common/transport/tlscommon/tls_config.go
…29316) * Add logs for ca_trusted_fingerprint workflow (#29312) This commit adds logs to clearly show when Beats is trusting a self-signed certificate through the fingerprint provided by `ssl.ca_trusted_fingerprint`. It also cleans up some struct tags on `tlscommon.TLSConfig`. (cherry picked from commit db9b410) Co-authored-by: Tiago Queiroz <[email protected]>
What does this PR do?
This PR adds logs to clearly show when Beats is trusting a self-signed certificate through a fingerprint provided by
ssl.ca_trusted_fingerprint
.Why is it important?
If there is any issue connecting to an output (the main use case is ES >= 8.0) using a self-signed certificate it will be easier to debug/understand what is happening.
Checklist
- [ ] I have made corresponding changes to the documentation- [ ] I have made corresponding change to the default configuration files- [ ] I have added tests that prove my fix is effective or that my feature works- [ ] I have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
tls
logger ("log.logger":"tls"
)Related issues
Use cases
Screenshots
Logs