Icinga / icingaweb2-module-elasticsearch

This module will not be updated by Icinga anymore. Please don't attempt to use it.
GNU General Public License v2.0
29 stars 9 forks source link

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

Open widhalmt opened 3 years ago

widhalmt commented 3 years ago

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

I had this with the latest release and the devlopment master

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 commented 3 years ago

ref/NC/704890 ref/me