Open lwandzura opened 2 years ago
Pretty old ticket, was setting this up myself
Update the start config (/usr/lib/influxdb/scripts/influxd-systemd-start.sh
) to replace
/usr/bin/influxd &
With (update your cert paths)
/usr/bin/influxd --tls-cert "/etc/ssl/influxdb-selfsigned.crt" --tls-key "/etc/ssl/influxdb-selfsigned.key" &
Actually a better way would be to update the config (/etc/influxdb/config.toml
) and add the following lines
tls-cert = "/etc/ssl/influxdb-selfsigned.crt"
tls-key = "/etc/ssl/influxdb-selfsigned.key"
User feedback :
"The "run influxd with TLS flags" is missing information for installs using a systemd service. I think I need to edit /usr/lib/influxdb/scripts/influxd-systemd-start.sh but am not sure where or with what."
https://docs.influxdata.com/influxdb/v2.2/security/enable-tls/