Telegraf Influxdb plugin with HTTPS

Hello All,
I have an influxdb/http server behind an Apache https reverse proxy.
I am really happy with this config, the ssl certs are from Letsencrypt, and my clients use https for data insertion, with curl from linux, with native libraries with Arduino clients.
Here an example with ESP8266 and arduino: https://github.com/bigjohnson/ESP_influxdbSSL_CAcert_DHT22_WiFiManager
I noticed that the Telegraf Influxdb plugin is only HTTP, I read some post that an old version was https.
I use Telegraf to collect snmp/smartctl data.
Why not re enable the https that is more secure?
Thanks.

Alberto

Both the Telegraf input and output plugins for InfluxDB support TLS/https. Perhaps we have some incorrect documentation somewhere, where did you hear that only http is supported?

I found this old github post, but I think is a resolved issue.
Actually when i start telegraf with
urls = ["https://influxdb.panu.it:443"]
and activate the debug on file there is this line
2020-06-07T15:46:15Z E! [outputs.influxdb] When writing to [https://influxdb.panu.it:443]: Post https://influxdb.panu.it:443/write?consistency=any&db=telegraf: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2020-06-07T15:46:15Z E! [agent] Error writing to outputs.influxdb: could not write any address
but with curl and arduino it works.
Any idea?