influxdb-relay
influxdb-relay copied to clipboard
How to config for self-signed certificate
My influxdb is enabled with self-signed certificate:
https-enabled = true https-certificate = "/etc/ssl/influxdb-selfsigned.crt" https-private-key = "/etc/ssl/influxdb-selfsigned.key"
How to config influx-relay in order to write to my influxdb instance?
You would need the system running influxdb relay to trust the CA used to sign the self-signed certs if you want trust to be maintained.
Alternatively, it looks like there is a SkipTLSVerification flag in the config that can be used.
https://github.com/influxdata/influxdb-relay/blob/master/relay/config.go#L54