Hello everybody.
I have installed an AWS Lightsail instance with:
- Ubuntu 20.04 LTS
- Apache 2
- PHP 7.2
- MariaDB 10.5
- Grafana
- Certbot
- InfluxDB 2 (starts with systemctl)
As long as I do not try to enable TSL via tls-*
keys in the config.toml
, everything works just splendidly.
I can access the web interface via HTTP on port 8086, write in data, get Grafana to plot it, etc.
As soon as I enable the TLS, the Influx web interface is no longer available on both HTTP and HTTPS, even though influxdb.service
is active and running.
Additionally, htop
shows that the Influx process is using what remains of the CPU, pushing the global CPU usage to 100%.
This is my config.toml
:
bolt-path = "/var/lib/influxdb/influxd.bolt"
engine-path = "/var/lib/influxdb/engine"
tls-cert = "/etc/letsencrypt/live/my.domain.com/fullchain.pem"
tls-key = "/etc/letsencrypt/live/my.domain.com/privkey.pem"
Influxdb user has access to the .pem files.
I can’t seem to find a solution and I would really like to have Influx available via HTTPS to my company besides Grafana, instead of hiding it by closing port 8086.
Anyone can help?
Thank you very much