influxdb-relay icon indicating copy to clipboard operation
influxdb-relay copied to clipboard

How to config for self-signed certificate

Open zhouyuanchao opened this issue 7 years ago • 1 comments

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?

zhouyuanchao avatar Sep 05 '18 01:09 zhouyuanchao

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

Freakin avatar Nov 19 '18 22:11 Freakin