Griesbacher / nagflux

A connector which copies performancedata from Nagios / Icinga(2) / Naemon to InfluxDB
GNU General Public License v2.0
65 stars 30 forks source link

Certificate Authority #40

Open datamuc opened 6 years ago

datamuc commented 6 years ago

https://github.com/Griesbacher/nagflux/blob/ea877539bc49ed67e9a5e35b8a127b1ff4cadaad/config/Config.go#L38

If the influxdb connection is secured by TLS, i guess we need an option to provide CA certificates. For example to provide a company's own CA. This may also be true for ElasticSearch.

Griesbacher commented 6 years ago

Yes, that might help in some cases. Currently all certificates are accepted: https://github.com/Griesbacher/nagflux/blob/master/target/influx/Connector.go#L46