visquitto: added rule to read issued topic in TLS mode
This commit is contained in:
+8
-9
@@ -81,8 +81,6 @@ cat > "$CONFIG/acl_plain" <<EOF
|
||||
# ============================================================
|
||||
user hamqtt
|
||||
|
||||
# Test topic
|
||||
topic readwrite test
|
||||
# Initial enrollment
|
||||
topic write cert/enroll/+/request
|
||||
topic read cert/enroll/+/issued
|
||||
@@ -102,13 +100,14 @@ EOF
|
||||
# TLS ACL
|
||||
cat > "$CONFIG/acl_tls" <<EOF
|
||||
# Default rule for every certificate client. %u is the certificate CN.
|
||||
|
||||
# data exchange topic
|
||||
pattern readwrite clients/%u/#
|
||||
# discovery topic
|
||||
pattern write vmqtt/sensor/%u/#
|
||||
# connection topics
|
||||
pattern write cert/enroll/%u/renew
|
||||
|
||||
# data exchange topic
|
||||
pattern readwrite clients/%u/#
|
||||
# discovery topic
|
||||
pattern write vmqtt/sensor/%u/#
|
||||
# connection topics
|
||||
topic read cert/enroll/%u/issued
|
||||
pattern write cert/enroll/%u/renew
|
||||
pattern write cert/enroll/%u/renew-begin
|
||||
pattern read cert/enroll/%u/challenge
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user