From 033bbf34b0622629ece96b7fbfd7e66ec49ef17f Mon Sep 17 00:00:00 2001 From: Gerrit <50664698+Gerrit-KMeier@users.noreply.github.com> Date: Sat, 14 Jan 2023 16:10:52 +0100 Subject: [PATCH] Create authentication.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vorbereitung für Verbindungen mit Benutzername/Kennwort. Anonyme Verbindungen sind weiterhin möglich solange allow_anonymous auf true steht. --- mqtt/config/conf.d/authentication.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mqtt/config/conf.d/authentication.conf diff --git a/mqtt/config/conf.d/authentication.conf b/mqtt/config/conf.d/authentication.conf new file mode 100644 index 00000000..eca3b31f --- /dev/null +++ b/mqtt/config/conf.d/authentication.conf @@ -0,0 +1,9 @@ +### Auf false setzen, falls anonyme Verbindungen verboten werden sollen. +allow_anonymous true + +password_file /mosquitto/config/password_file + +### Neue Benutzer können danach mit +### docker exec -it fhem-docker-mqtt-1 mosquitto_passwd /mosquitto/config/password_file +### hinzugefügt werden +### weitere Infos: https://mosquitto.org/man/mosquitto_passwd-1.html