• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

MQTT with x509 certificates (1 Viewer)


Jul 21, 2022
Reaction score
Hi all,
I am programming in Lua and I'm trying to manage an MQTT connection to my IoT Hub on Azure.
Honestly I'm quite new to MQTT and I am not a very good programmer :rolleyes:.
I realized a little C++ program to connect to my IoT Hub on Azure and it works, now I would to import the MQTT managment into my CrankSoftware application (which use Lua as programming language).
I found some line of code but everywhere the connection is realized with USERNAME and PASSWORD, I need to realize a connection with X.509 certificate authentication.

Consider I need MQTT just to send messages to my Hub in the cloud.

Do you have any suggestion about it? Is this the right place where ask question like this?