Help with setting up Domoticz MQTT with TLS
Posted: Tuesday 19 November 2024 10:37
I have a newly installed storage batteri supporting secure MQTT protocol but no autodiscovery. I would like to include it in Domoticz with help of MQTT Client Gateway with LAN interface. Running Domoticz on RPi5 with standard Debian Bookworm, latest updates.
I dont know anything about securing MQTT. But I have downloaded 3 files for certificates from the Battery server.
In (Windows based) MQTT Explorer the battery shows up after having installed those 3 files :
1. Server Certificate: pixii (1).crt
2. Client Certificate: mqtt_client (1).crt
3. Client Key: mqtt_client (1).key
on port 8883.
So far, so good....
I have added hardware "MQTT Client Gateway with LAN interface" but get stuck on the field "CA Filename".
2 questions that I need your help with:
1. How do I get the downloaded certificates into the RPi installed correctly?
2. What do I write in the field "CA Filename" ?
Thank you in advance for your help and, please, note that I am not very experienced in Linux....
/fjuppe
I dont know anything about securing MQTT. But I have downloaded 3 files for certificates from the Battery server.
In (Windows based) MQTT Explorer the battery shows up after having installed those 3 files :
1. Server Certificate: pixii (1).crt
2. Client Certificate: mqtt_client (1).crt
3. Client Key: mqtt_client (1).key
on port 8883.
So far, so good....
I have added hardware "MQTT Client Gateway with LAN interface" but get stuck on the field "CA Filename".
2 questions that I need your help with:
1. How do I get the downloaded certificates into the RPi installed correctly?
2. What do I write in the field "CA Filename" ?
Thank you in advance for your help and, please, note that I am not very experienced in Linux....
/fjuppe