Skip to content

Instantly share code, notes, and snippets.

@ZsBT
Last active May 3, 2018 19:50
Show Gist options
  • Save ZsBT/0ad385fceb5ced52734fa265d0e84012 to your computer and use it in GitHub Desktop.
Save ZsBT/0ad385fceb5ced52734fa265d0e84012 to your computer and use it in GitHub Desktop.
mosquitto SSL server using Letsencrypt certificate
listener 1883 localhost
listener 2883
certfile /etc/letsencrypt/live/my.example.com/cert.pem
cafile /etc/letsencrypt/live/my.example.com/chain.pem
keyfile /etc/letsencrypt/live/my.example.com/privkey.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment