Page 1 of 1

How to setup connect MQTT over wss with CA signed server certificate

Posted: Thu May 22, 2025 4:47 pm
by tnnguyen
hi everyone
I’m using the ESP32-C3 with ESP-IDF v5.4 in my application.
I want to set up the MQTT configuration to connect via WSS using a CA-signed server certificate, meaning I don’t want to define a CA file on the device.
How should I configure this?

Re: How to setup connect MQTT over wss with CA signed server certificate

Posted: Fri May 23, 2025 3:26 am
by nopnop2002
I want to set up the MQTT configuration to connect via WSS using a CA-signed server certificate, meaning I don’t want to define a CA file on the device.

As far as I know, a CA file is required on the device side.

Re: How to setup connect MQTT over wss with CA signed server certificate

Posted: Fri May 23, 2025 3:31 pm
by tnnguyen
Screenshot 2025-05-23 at 16.54.02.png
Screenshot 2025-05-23 at 16.54.02.png (155.78 KiB) Viewed 132 times
When I use the MQTTX app to test my server and set up TLS/SSL in CA-signed server certificate mode without adding any certificate files, the app can still connect. Is it possible to do the same with the device?