influxdb
influxdb copied to clipboard
Add option to specify CA for self-signed certificate
This feature request is primarily related to InfluxDB Enterprise.
Proposal:
Current setting allow encrypting traffic between InfluxDB nodes with self-signed certificates only with https-insecure-tls = true
.
It would be nice to add a parameter which allows specifying path to a CA file, so the node's certificate is validated with that CA.
Current behavior:
According to the documentation, you need to set https-insecure-tls
to true
. With that parameter, self-signed certificates work.
Desired behavior:
Introduce a parameter which allows specifying path to CA certificate. For example, https-ca
.
[meta]
[...]
https-enabled = true
https-certificate = "influxdb-meta.crt"
https-private-key = "influxdb-meta.key"
https-ca = "influxdb-ca.crt"
https-insecure-tls = false
This parameter needs to be introduced for InfluxDB data and meta nodes' config.
Alternatives considered: CA which issued self-signed certificates can be added to VM's CA bundle, but it's a bit inconvenient.
Use case: Encrypting internal traffic with self-signed certificates is a quite common practice, so allowing to encrypt the traffic in a more secure way would be a good security improvement.
+1
I am maintaining my own CA and would like to validate chain of trust when connecting to InfluxDB, as well.
#MeToo