@ -5,19 +5,28 @@ Learning MQTT with Golang by doing. This repo is a simple example of using a Gol
## Development
## Development
For local development we use [Mosquitto](https://mosquitto.org/). Start the local development environment with:
For local development we use [Mosquitto](https://mosquitto.org/) as our MQTT broker, with TLS enabled.
First generate local development certs using:
```
make gen-local-tls-certs
```
This will create CA, server, and client certificates suitable for local development. Server and CA certs are created in `./.mosquitto/certs`. The client cert is create in the project root.