proj: switch to secure connection
This commit is contained in:
+14
@@ -1,5 +1,14 @@
|
||||
# MQTT Commands
|
||||
|
||||
setup password
|
||||
|
||||
```sh
|
||||
docker exec --user 1883 -it mosquitto mosquitto_passwd /mosquitto/config/passwd nextuser
|
||||
|
||||
awesomeexodusoutdooradventures
|
||||
```
|
||||
|
||||
|
||||
## simple
|
||||
|
||||
```sh
|
||||
@@ -13,6 +22,11 @@ mosquitto_sub -L mqtts://nerdyssey.de:8883/outdoor/king-arthur/sword/run -d
|
||||
mosquitto_sub -L mqtts://nerdyssey.de:8883/outdoor/king-arthur/sword/int -d
|
||||
|
||||
mosquitto_pub -L mqtts://nerdyssey.de:8883 -t outdoor/king-arthur/sword/run -m "SetMaintanance"
|
||||
|
||||
mosquitto_sub -h mqtts://nerdyssey.de:8883 -t "outdoor/king-arthur/sword/int" -u "exodususer" -P "awesomeexodusoutdooradventures"
|
||||
mosquitto_pub -h <your-server-ip-or-proxy> -t "outdoor/king-arthur/sword/int" -m "Hello Secure World!" -u "exodususer" -P "awesomeexodusoutdooradventures"
|
||||
|
||||
mosquitto_sub -h nerdyssey.de -p 8883 -t "outdoor/king-arthur/sword/int" -u "exodususer" -P "awesomeexodusoutdooradventures" --capath /etc/ssl/certs/ -d
|
||||
```
|
||||
|
||||
- `+` Single-level wildcard: `t1/+/sub2/sub3`
|
||||
|
||||
Reference in New Issue
Block a user