About MQTT secure communication

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AkKo_4458241
Level 2
Level 2

Hello.

How can I make a secure connection using TLS1.2 with the MQTT library?

(wiced_mqtt_init()、wiced_mqtt_connect()、wiced_mqtt_publish() etc...)

Thank you.

0 Likes
1 Solution
RaktimR_11
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

Please check the snip.secure_mqtt application which uses TLS with standard MQTT. If you are curious to check the implementation, you can go through the mqtt_network_init code present in 43xxx_Wi-Fi/libraries/protocols/MQTT/mqtt_network.c

View solution in original post

2 Replies
RaktimR_11
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

Please check the snip.secure_mqtt application which uses TLS with standard MQTT. If you are curious to check the implementation, you can go through the mqtt_network_init code present in 43xxx_Wi-Fi/libraries/protocols/MQTT/mqtt_network.c

Hello,

Thank you very much for your answer.

I'll try.

thank you.

0 Likes