I am currently working with influxdb and I’ve just added a self-signed certificate to enable https.
I can still access my influxdb by typing something like this with the CLI tool: influx -ssl -unsafeSsl -host <domain_name>.com
However, I can’t seem to be able to figure out how this is possible with an api call?
I am currently doing something similar to this in php, which worked before the addition of the certificate:
$query = urlencode(‘SHOW MEASUREMENTS’);
curl_setopt($curl_handle,CURLOPT_URL,“https://myhost/query?u=myuser&p=mypasswer&db=mydb&q=” . $query);
I can’t figure out what the alternative to -ssl and -unsafeSsl is in this format.
Thanks for your help