https://github.com/fjebaker/mqtt-with-tls
Guides and code examples for configuring MQTT on IoT with TLS, and other security features.
https://github.com/fjebaker/mqtt-with-tls
arduino iot iot-device mqtt mqtts nginx ssl tls vernemq
Last synced: about 1 month ago
JSON representation
Guides and code examples for configuring MQTT on IoT with TLS, and other security features.
- Host: GitHub
- URL: https://github.com/fjebaker/mqtt-with-tls
- Owner: fjebaker
- License: gpl-3.0
- Created: 2020-08-07T23:08:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T20:28:36.000Z (almost 6 years ago)
- Last Synced: 2025-12-04T22:43:52.401Z (6 months ago)
- Topics: arduino, iot, iot-device, mqtt, mqtts, nginx, ssl, tls, vernemq
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MQTT-with-TLS
Guides and code examples for configuring MQTT on IoT with TLS, and other security features.
For further notes and links, see my [Dust-Notes](https://github.com/Dustpancake/Dust-Notes) repository.
## What this repository covers
I've been working on creating secure IoT devices, with the Arduino Nano 33 IoT micro-control unit. My aim is to
- spawn VerneMQTT brokers to handle and deliver messages
- use NGiNX as a load balancer for the brokers
- configure NGiNX for TLS TCP streams
- use the IoT device to send MQTT packets via TLS over WiFi
This repository will act as an overview, and eventually a guide, as to a possible implementation of this goal, first on a privately owned server, and later over AWS.
## Organisation
As this project is a work in progress, I am unsure how I will organise the final overview. Most of my notes will be included in my [Dust-Notes/mq-mqtt](https://github.com/Dustpancake/Dust-Notes/tree/master/mq-mqtt) and [Dust-Notes/arduino](https://github.com/Dustpancake/Dust-Notes/tree/master/arduino) repository, however I will include explicit code examples both in this repository, and in my own Ego and the [Id-IoT](https://github.com/Dustpancake/Id-IoT) project.
For relevant notes, see here:
- minimal MQTT protocol overview [here](https://github.com/Dustpancake/Dust-Notes/blob/master/mq-mqtt/mqtt-specs.md)
- NGiNX as a load balancer (with Docker) [here](https://github.com/Dustpancake/Dust-Notes/blob/master/mq-mqtt/nginx-load-balancing.md)
- VerneMQ cluster (with Docker) (TODO)
- Configuring SSL/TLS on NGiNX (TODO)
- Uploading CA certificates and onto Arduino firmware [here](https://github.com/Dustpancake/Dust-Notes/blob/master/arduino/ca-certs-nano.md)
- Configuring the ATECC608a secure chip [here](https://github.com/Dustpancake/Dust-Notes/blob/master/arduino/crypto-auth.md)
- Testing the communication system is secure (TODO)
### Useful links
The [Arduino Nano 33 IoT Ultimate Guide](https://github.com/ostaquet/Arduino-Nano-33-IoT-Ultimate-Guide)