visquitto: added rule to read issued topic in TLS mode
build-and-push / check-branch (push) Successful in 12s
build-and-push / prepare (push) Successful in 9s
build-and-push / build (amd64, linux/amd64) (push) Successful in 1m1s

This commit is contained in:
2026-11-08 13:18:15 +03:30
parent bfefcbf636
commit c3635e7034
3 changed files with 13 additions and 10 deletions
+8 -9
View File
@@ -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