Suru Dissanaike
May 29, 2021

Dear Fred, Excellent question; I have re-used the bash script from my previous article which is a bit unfortunate. Because we are not running the Mosquitto broker in Ubuntu the copy part is not valid any more. I have updated the bash script and also added a bit of text in the "Docker compose and folder structure" section. The script will generate the certs to the working directory, You need to create the folder structure on your own. The keys are in the volume that you mount to your Docker container. I hope this clarifies things, otherwise I will gladly add some additional text. Thank you for reading the article and your kind words!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Suru Dissanaike
Suru Dissanaike

Written by Suru Dissanaike

IoT nerd with a passion for Test Automation, Embedded Linux and DevOps. https://www.linkedin.com/in/dissanaike/

Responses (3)

Write a response

Please let me know if you need any more assistants; it sounds like you are close to reaching your goal.

For (temp) convenience I placed the make-keys.sh script in the config/certs folder. In this way I only have to run the script. The output (keys) is than in the certs folder immediately. I have two folder structures. One for using an IP and the other…

Thanks for you swift response Suru! I understand now that the copy routine is just not necessary. I will accept the fact that I cannot find the copied files. I will have a close look at your modifications and see if it brings me further…. I hope…