Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On MQTT Programming with Python

You're reading from   Hands-On MQTT Programming with Python Work with the lightweight IoT protocol in Python

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781789138542
Length 228 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Gaston C. Hillar Gaston C. Hillar
Author Profile Icon Gaston C. Hillar
Gaston C. Hillar
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Installing an MQTT 3.1.1 Mosquitto Server 2. Using Command-Line and GUI Tools to Learn How MQTT Works FREE CHAPTER 3. Securing an MQTT 3.1.1 Mosquitto Server 4. Writing Code to Control a Vehicle with Python and MQTT Messages 5. Testing and Improving Our Vehicle Control Solution in Python 6. Monitoring a Surfing Competition with Cloud-Based Real-Time MQTT Providers and Python 7. Solutions 8. Other Books You May Enjoy

Securing an MQTT 3.1.1 Mosquitto Server

In this chapter, we will secure an MQTT 3.1.1 Mosquitto server. We will make all the configurations required to work with digital certificates to encrypt all the data sent between MQTT clients and the server. We will use TLS and we will learn to work with client certificates for each MQTT client. We will also learn to force the desired TLS protocol version. We will gain an understanding of the following:

  • The importance of securing a Mosquitto server
  • Generating a private certificate authority to use TLS with Mosquitto
  • Creating a certificate for the Mosquitto server
  • Configuring TLS transport security in Mosquitto
  • Testing the MQTT TLS configuration with command-line tools
  • Testing the MQTT TLS configuration with GUI tools
  • Creating a certificate for each MQTT client
  • Configuring TLS client certificate authentication in Mosquitto
  • Testing the MQTT...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime