Skip to content

[Backport 7.x] Improved diagnostics for TLS trust failures#49669

Merged
tvernum merged 5 commits intoelastic:7.xfrom
tvernum:backport/7.x/48911-Improved-diagnostics-for-TLS
Nov 29, 2019
Merged

[Backport 7.x] Improved diagnostics for TLS trust failures#49669
tvernum merged 5 commits intoelastic:7.xfrom
tvernum:backport/7.x/48911-Improved-diagnostics-for-TLS

Conversation

@tvernum
Copy link
Copy Markdown
Contributor

@tvernum tvernum commented Nov 28, 2019

  • Improves HTTP client hostname verification failure messages
  • Adds "DiagnosticTrustManager" which logs certificate information
    when trust cannot be established (hostname failure, CA path failure,
    etc)

These diagnostic messages are designed so that many common TLS
problems can be diagnosed based solely (or primarily) on the
elasticsearch logs.

These diagnostics can be disabled by setting

 xpack.security.ssl.diagnose.trust: false

Backport of: #48911

- Improves HTTP client hostname verification failure messages
- Adds "DiagnosticTrustManager" which logs certificate information
  when trust cannot be established (hostname failure, CA path failure,
  etc)

These diagnostic messages are designed so that many common TLS
problems can be diagnosed based solely (or primarily) on the
elasticsearch logs.

These diagnostics can be disabled by setting

     xpack.security.ssl.diagnose.trust: false

Backport of: elastic#48911
@tvernum
Copy link
Copy Markdown
Contributor Author

tvernum commented Nov 29, 2019

@elasticmachine run elasticsearch-ci/packaging-sample-matrix

@tvernum tvernum merged commit e6f530c into elastic:7.x Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant