I'm also trying to get SSL/TLS working for my InfluxDB server. I can successfully connect locally using the CLI client using `influx --ssl -unsafeSsl`, but my requirement is to connect via any HTTPS client _without_ forcing an insecure connection. I tried connecting to my server using `curl` but I get an error. I filed the details here: https://github.com/influxdata/influxdb/issues/4090#issuecomment-232987018
On Thursday, June 2, 2016 at 10:07:32 AM UTC-7, [email protected] wrote: > That worked ! > > Thanks much, > Divya > > On Wednesday, 1 June 2016 22:35:13 UTC-7, [email protected] wrote: > > Try `influx -ssl -unsafeSsl`. > > > > On Wednesday, June 1, 2016 at 9:50:04 PM UTC-7, [email protected] wrote: > > > I enabled ssl for 8086 with a self signed certificate and Grafana appears > > > to be able to communicate with InfluxDB. But I can't connect to CLI. I > > > tried both -ssl and -unsafeSsl options. > > > > > > > > > #influx -ssl > > > Failed to connect to https://localhost:8086 > > > Please check your connection settings and ensure 'influxd' is running. > > > > > > > > > #influx -unsafeSsl > > > Failed to connect to https://localhost:8086 > > > Please check your connection settings and ensure 'influxd' is running. > > > > > > > > > influxdb.log shows: > > > [run] 2016/06/01 23:42:20 http: TLS handshake error from 127.0.0.1:50617: > > > remote error: bad certificate > > > [run] 2016/06/01 23:42:28 http: TLS handshake error from 127.0.0.1:50642: > > > tls: first record does not look like a TLS handshake > > > > > > According this https://github.com/influxdata/influxdb/issues/4090 the > > > unsafe option should work. Wondering if the reason I cant connect to CLI > > > is the 'self signed certificate' or if I am missing something. > > > > > > Thanks, > > > Divya -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/9e852df2-22c8-4ef5-8f3f-6eea18ed40a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
