SSL/TLS certs Automation for mqtt integration

Hi,

I was able to configure ssl certification in my docker environment for mqtt integration following this guide

https://www.chirpstack.io/docs/guides/mosquitto-tls-configuration.html

My question is if there is a way to generate the cert client for this mqtt integration outside the ui?

I’m using traefik for ssl endpoint with letsencrypt for the ui and the self signed certificates for the mqtt integration but I want to know if is it possible to do everything with traefik and letscrypt as ssl/tls provider

Regards

In high level, what ChirpStack does is:

  • Generate client-certificate with in the CN field: Gateway ID or Application ID
  • Sign this certificate with the configured CA (ca cert + ca keyfile)

You could do this easily outside ChirpStack using for example CFSSL: GitHub - cloudflare/cfssl: CFSSL: Cloudflare's PKI and TLS toolkit