InfluxDB with https

Hi guys,
when i use influxdb (v2.7.1) add-on with openhab4 (4.0.1) with HTTP I have no problem and everything works fine.
When I enable HTTPS in influxdb and in influxdb.config change the URL from http://127.0.0.1:8086 to https://my.domain.name:8086 the message i get in the log is “Connection time out” as if it can’t access it.

I tried to connect to my influxdb over the WEB and using the influx CLI without problems.
Do you have any other suggestions?

I also considered to use both HTTP and HTTPS on influxdb but did not find this option in v2.7.1.

Thanks

Did you already test the connection via https? From documentation:

Ensure you can connect over HTTPS by running

curl -v https://my.domain.name:8086/api/v2/ping