I tried to enable HTTPS on influxdb 1.0.2, and everything works except 
importing data through influx CLI. Here's the command I tried to execute:

/usr/bin/influx -ssl -unsafeSsl -import -path influxdb-data.txt


And the stdout:

ERROR: failed to connect to https://localhost:8086


Even though the influxdb is running. And the log of influxdb shows:

[httpd] ::1 - admin [23/Nov/2016:09:46:55 +0000] "GET /ping HTTP/1.1" 204 0 
"-" "InfluxDBShell/1.0.2" c503c5a3-b161-11e6-8001-000000000000 18
[run] 2016/11/23 09:46:55 http: TLS handshake error from [::1]:34244: 
remote error: bad certificate


If the HTTPS is disabled, the importing succeed. I have no idea what 
happened cause everything except -import works.

Thanks!
John

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" 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/c7adbe37-3f0e-4a5f-8827-f346e4297872%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to