So far I have Telegraf and InfluxDB running on a server with a self-signed cert and I am attempting to bring up Chronograf/Kapacitor on the same machine and I am getting TLS handshake errors from influxd as they attempt to connect.
Both Chronograf and Kapacitor are set up to skip certificate verification so I don’t believe that is the issue.
http settings for influxd (everything else is left on the default from the rpm install):
[http]
enabled = true
auth-enabled = true
log-enabled = true
https-enabled = true
https-certificate = "/etc/ssl/influxdb-selfsigned.crt"
https-private-key = “/etc/ssl/influxdb-selfsigned.key”
@jackzampolin I figured out what was wrong with Kapacitor - I changed the subscription type in Kapacitor to https without configuring https in Kapacitor.
I however have still not resolved my issue with Chronograf. When I attempt to connect a source I get the following error in the Chronograf log:
Enable HTTPS on InfluxDB using a self-signed cert following instructions here
Update Telegraf and Kapacitor accordingly to use https with verification disabled
Delete the http source
Attempt to connect to InfluxDB over HTTPS with the box checked to skip verification
This also resulted in Chronograf being unable to connect. Is there some key step that I missed in that that I would need to do in order to get this working?
I am having a similar problem. The full TICK stack is deployed as kubenetes services (each in a container). Communication between all of them is working fine (http, no security).
I am now trying to enable https + cert in influxDB. The end goal is to have security on all the services (the ones with exposed ports).
How can I connect to the database on Chronograf ? I have also setup Chronograf to use certification (env variables on kubenetes config file) :
env:
- name: CERT # new
value: "/etc/ssl/name.crt"
- name: KEY # new
value: "/etc/ssl/name.key"
- name: INFLUXDB_URL # same as before except it is now https
value: "https://<IPAddressOfInfluxDB>:8086"
I don’t see anything in the logs of influxdb (no TLS handshake, etc…). I would prefer to avoid using a reverse-proxy.
Is there a full tutorial concerning https/ssl between chronograf and influxdb ? Am I missing a step ?
Thanks in advance.