Open elasticmachine opened 7 years ago
Original comment by @jaymode:
@tvernum @albertzaharovits @joshbressers I definitely think that this is something we should have before we push TLS on the masses with the upcoming move to enabling it for basic licenses.
Original comment by @joshbressers:
This is fantastic, we should do this everywhere.
Original comment by @jordansissel:
SSL errors in all languages are generally unhelpful for users/operators, in my experience.
Elasticsearch, for example, when there is an SSL exception, logs a 50-100-line stack trace. Embedded in this noise is some signal "PKIX path builder problem" that, quite honestly, no operator will understand.
We can do better.
For the past year, in my spare cycles, I have been working on solving this problem for Logstash, and I believe Elasticsearch should solve this as well. We can share the code.
As an example, when a client connects and does not trust the server:
For my prototype, there is much work to be done to improve the failure reporting, but this is significantly better than the default SSLEngine/SSLSocket exception stack traces.
My code is here: https://github.com/elastic/tealess/
My intent is to deploy this with Logstash, but I believe strongly that Elasticsearch must use this or a similar strategy to improve SSL/TLS user experience problems.