|# Connection name|
|# Secure SSL/TLS|
|# adjust path as approriate to point to directory with PEM encoded .crt CA files|
|remote_username <your username>|
|remote_password <your aio key>|
|# Config options for bridge|
|# This is important, if set to True connection will fail,|
|# probably because users don't have permissions to $SYS/#|
|# Also important. if set to True the connection will fail,|
|# it seems io.adafruit.com doesn't support this|
|# Topics to bridge|
|# topic <local topic> <in|out|both> <QoS> <local topic prefix> <remote topic prefix>|
|# eg: bridge temperature/shed to temperature/shed|
|# topic temperature/shed out 0 "" ""|
|# eg: bridge to io.adafruit.com|
|# temperature/shed to <username>/feeds/temperature_shed|
|# topic shed out 0 temperature <username>/feeds/temperature_|
|# eg: bridge from io.adafruit.com|
|# <username>/feeds/throttle to adafruit.io/throttle|
|# topic throttle in 0 adafruit.io/ <username>/feeds/|
|# eg: bi-directional topic|
|# <username>/feeds/welcome-feed to/from adafruit.io/welcome-feed|
|# topic welcome-feed both 0 adafruit.io/ <username>/feeds/|
|# note: if using the Adafruit.io "Welcome Feed" you'll need to rename|
|# it to "welcome-feed" in the web interface for the above example to work|
Thanks for taking the time to share this mosquitto config. Has helped me immensely.
I've forked your config file, and updated line 10 to add a space between the hash and the keyword address. I got a config file syntax error on that line when I attempted to start Mosquitto.
Seems Mosquitto expects comments to begin #(whitespace)
I've also added to my fork, instructions for CA config on RHEL derived distros like CentOS.
I'd do a PR but gist doesn't support them. :)
Hi everybody, I am trying to configure a bridge between: CLOUD SERVER: mosquitto broker installed in a virtual machine (google cloud) and LOCAL SERVER: openwrt router with mosquitto broker installed.
Local server with "bridges" to cloud server.
Sorry but my knoweldge about certs is poor,
Thanks a lot for your help.