#ESP32 Mqtt connect to Mosquitto through TLS
1 messages · Page 1 of 1 (latest)
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
ive entered the chain in https://letsencrypt.org/certs/isrg-root-x1-cross-signed.pem into the ESP32
and Ive uploaded the pem file to the ssl folder and directed mosquitto to that file (as CA certificate)
the code on the ESP32 looks like this:
https://pastes.io/6up8xjzwf3
the errors. https://pastes.io/jskyhjpjuc
broker error:
https://pastes.io/k1zclea1hb
broker settings: https://pastes.io/eekqxousqd
omg.. is this because I have the "require certificate" option on ? And its actually not necessary ?
yup.
solved... fmk