AWS IoT MQTT Tutorial Using Lua

This article has been indexed from DZone Security Zone

In this hands-on tutorial, you will learn how to connect securely to an AWS IoT MQTT broker using mutual certificate authentication. An online interactive Lua tutorial includes ready-to-use Lua code, enabling you to connect to your own AWS IoT core instance after signing up for a free AWS account.

When the MQTT protocol uses TLS, the MQTT clients verify the brokers’ identities with X.509 certificates. TLS also supports mutual authentication, where the brokers use certificates to verify the clients’ identities. If this all sounds Greek to you, check out my previous article, A Gentle Introduction to Asymmetric Encryption, which explains the core principles behind X.509 certificate authentication.

Read the original article: AWS IoT MQTT Tutorial Using Lua