I am following this official tutorial to setup an influxdb with ssl enabled: https://docs.influxdata.com/influxdb/v1.8/administration/https_setup/#set-up-https-with-a-self-s