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
+4
View File
@@ -1,5 +1,9 @@
# Changelog # Changelog
## 0.7.1
- Fixed renew bug
## 0.7.0 ## 0.7.0
- Added rule for MQTT discovery - Added rule for MQTT discovery
+1 -1
View File
@@ -1,5 +1,5 @@
name: Visquitto name: Visquitto
version: "0.7.0" version: "0.7.1"
slug: visquitto slug: visquitto
description: Second private Mosquitto broker for bitopa nodes description: Second private Mosquitto broker for bitopa nodes
url: "https://gitea.viratak.com/bitopa/virarepo/src/branch/main/visquitto" url: "https://gitea.viratak.com/bitopa/virarepo/src/branch/main/visquitto"
+8 -9
View File
@@ -81,8 +81,6 @@ cat > "$CONFIG/acl_plain" <<EOF
# ============================================================ # ============================================================
user hamqtt user hamqtt
# Test topic
topic readwrite test
# Initial enrollment # Initial enrollment
topic write cert/enroll/+/request topic write cert/enroll/+/request
topic read cert/enroll/+/issued topic read cert/enroll/+/issued
@@ -102,13 +100,14 @@ EOF
# TLS ACL # TLS ACL
cat > "$CONFIG/acl_tls" <<EOF cat > "$CONFIG/acl_tls" <<EOF
# Default rule for every certificate client. %u is the certificate CN. # Default rule for every certificate client. %u is the certificate CN.
# data exchange topic # data exchange topic
pattern readwrite clients/%u/# pattern readwrite clients/%u/#
# discovery topic # discovery topic
pattern write vmqtt/sensor/%u/# pattern write vmqtt/sensor/%u/#
# connection topics # connection topics
pattern write cert/enroll/%u/renew topic read cert/enroll/%u/issued
pattern write cert/enroll/%u/renew
pattern write cert/enroll/%u/renew-begin pattern write cert/enroll/%u/renew-begin
pattern read cert/enroll/%u/challenge pattern read cert/enroll/%u/challenge
EOF EOF