influxdata / influxdb-r

R library for InfluxDB
MIT License
43 stars 22 forks source link

HTTPS support in influxdb_query with self-signed certificates #6

Open andrewmatthewthompson opened 9 years ago

andrewmatthewthompson commented 9 years ago

I'd like to use this influxdb-r library for an InfluxDB with HTTPS scheme (i.e. SSL). However the SSL certificate is currently unsigned in development but I'd still like to test against this.

When I run a modified version of the influxdb_query() function (the the scheme is updated to https) it fails with the following error:

Error in function (type, msg, asError = TRUE)  : 
  SSL certificate problem: Invalid certificate chain

Do you happen to know of a way to get this working with the HTTPS protocol using self-signed certificates?