With the MQTT Integration there appears to be no way to enable TLS communications.
in the configuration.yaml I need to use
mqtt:
broker: mqtt.domain
port: 8883
certificate: auto
username: !secret mqtt_user
password: !secret mqtt_password
but in the UI there is no way to enable TLS. Looking in the .storage/core.config_entries at the MQTT integration entity there is no “certificate” key value pair.
Looking at the code init.py
If certificate is not defined then it won’t try to connect using TLS.
So probably needs something like (grabbed from MQTT Explorers connection page)
and then a text box to enable you to enter the path to the certificate file you want to use with a default of “auto”