Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Show meaningful error message when CA cert is not readable #49

Open
widhalmt opened this issue Apr 16, 2021 · 1 comment
Open

Show meaningful error message when CA cert is not readable #49

widhalmt opened this issue Apr 16, 2021 · 1 comment

Comments

@widhalmt
Copy link
Member

Sorry for skipping the template but this issue is quite simple to describe:

I had this with the latest release and the devlopment master

  • Secure your Elasticsearch instance and only allow TLS connections
  • Give a CA certificate to the Elasticsearch module
  • Forget to set permissions for allowing your webserver access to the CA certificate

You only get an ugly stack trace without a hint that the certificate file is unreadable.

Since some people use configuration management for configuring Elasticsearch, it's quite common to use a certificate from somewhere in the filesystem. And that tend's to lead to disaster.

@widhalmt
Copy link
Member Author

ref/NC/704890
ref/me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant