Configuring certificates for IoT boards that will work as clients

Now, we will write Python code that will be ready to work on the different IoT boards. Of course, you can work with a single development computer or development board. There is no need to run the code on different devices. We just want to make sure we can write code that will be capable of running on different devices.

Remember to copy the files we created in the previous chapter to a directory on the computer or device that will represent the board that controls a vehicle and that we will use to run a Python script. If you will be working with the same computer or device you have been using so far, you don't need to follow the next step.

We saved the files in a directory called ...

Get Hands-On MQTT Programming with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.