#ESP32 Mqtt connect to Mosquitto through TLS

1 messages · Page 1 of 1 (latest)

raw raptor
#

Hi guys. Anoying issue. I have a moquitto broker in my HA unit. ITs runing fine, and I can connect to out outside and inside my network. I have some ESP32 units that will be communicating (bidirectional) with my server and I want to create a more safe connection. Enter SSL/TLS.

#

letsencrypt is installed and working. I have https access to my HA instance

#

the ESP32 works with my mosquitto as long as I disable "require certificate" in the broker

#

and Ive uploaded the pem file to the ssl folder and directed mosquitto to that file (as CA certificate)

raw raptor
#

omg.. is this because I have the "require certificate" option on ? And its actually not necessary ?

#

yup.

#

solved... fmk