Closed
Description
Bug report
System info: [InfluxDB version:1.0.2 (running offical docker image), ubuntu 16.04]
Steps to reproduce:
- Setup Influxdb-Server with selfsigned Certificates
- Import using the -unsafeSsl flag:
influx -import -path=myexport -pps 10000 --unsafeSsl --ssl
Expected behavior:
Import should work
Actual behavior:
On the console I get the following error:
ERROR: failed to connect to https://localhost:8086
The logfile contains the following entries:
[httpd] ::1 - admin [05/Nov/2016:10:57:16 +0000] "GET /ping HTTP/1.1" 204 0 "-" "InfluxDBShell/1.0.2" 9d77c543-a346-11e6-8004-000000000000 23
[run] 2016/11/05 10:57:16 http: TLS handshake error from [::1]:33652: remote error: bad certificate
Additional info:
When connecting to the same database without the -import
flag, then the connection works:
influx --unsafeSsl --ssl
Connected to https://localhost:8086 version 1.0.2
InfluxDB shell version: 1.0.2
>
It is also possible to send data to the db with https, so setup of the certificates seems to be ok.
When disabling https and then importing the same file it also works. It seems the import ignores the unsafeSsl flag.
Activity