I've been running influx 1.7 and older versions of Telegraf and Grafana fine (non https). So thought it time to upgrade.
So i've installed influxdb 2.02 and Telegraf 1.16.2 on CentOS8 using the RPM packages from the site.
Then running the normal
systemctl start influxdb
I can log in fine http://dnsname:8086
But i now want to add SSL
I've installed and got some Certs and Keys via Letsncrypt but had to play with the permissions to get this command to work:-
influxd --tls-cert="/etc/letsencrypt/live/<domain>/fullchain.pem" --tls-key="/etc/letsencrypt/live/<domain>/privkey.pem"
That runs and i get influxdb on https://dnsname:8086 now
But how do I get that command to run as the influxdb service?