InfluxDBStudio
InfluxDBStudio copied to clipboard
Connection using -unsafeSsl option
is possible to implement connection using -unsafeSsl ?
as in Influx --help: -unsafeSsl: "Set this when connecting to the cluster using https and not use SSL verification."
thx
I run in the same issue.
Here is my local quick an dirty workaround.
Constructor modified of InfluxDataNetClient
public InfluxDataNetClient(InfluxDbConnection connection) :
base(connection)
{
// Create the underlying concrete client
var c = connection;
// do this to use self signed certificates
System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;
influx = new InfluxData.Net.InfluxDb.InfluxDbClient(c.HttpConnectionString,
c.Username, c.Password, InfluxDbVersion.Latest);
}
works for me.
If I got the time I will add a property to the InfluxDbConnection class and will handle it. Then I create a pull request.