hassio-addons / addon-mqtt

MQTT Server & Web client - Home Assistant Community Add-ons
https://addons.community
MIT License
35 stars 15 forks source link

Global self signed SSL certificates from Raspberry #57

Closed SaschaMuehl closed 4 years ago

SaschaMuehl commented 4 years ago

Problem/Motivation

I want to integrate my self flashed CC2531 via MQTT. After the Installation of the MQTT Server & Web client I tried to integrate my self signed certificates of letsencrypt.

I use a LEMP-Stack on a Rasp-Pi 3 (32bit) with a SPDNS.org DNS Server and installed HassIO on Docker. The LEMP is running globally with: Debian, NGINX Reverse Proxy, RSA LetsEncrypt Certificates, MariaDB-Database, PHP 7.0

Expected behavior

Access to the SSL MQTT Server via SSL

Actual behavior

Connect failed: AMQJS0007E Socket error:undefined. The way without certificates were also not working - It is not connecting after clicking

Steps to reproduce

Prolog: First of all I tríed to integrate the Zigbee2MQTT for CC2531 iaw. zigbee2mqtt.io documenation. I stopped it because I got a "Connecting to MQTT server at mqtt://127.0.0.1:1883" error. So I tried to use the mqtt-addon

configuration.yaml: grafik

Add-On-Config grafik

Network-Config grafik

  1. Is there a way to bind the self signed SSL certificates?
  2. Were can I find the wanted file SSL? (I want to avoid a constant changing of the SSL Certs)
frenck commented 4 years ago

This add-on has been deprecated. Please migrate away from it and use the official Mosquitto add-on instead.

Thanks 👍

addons-assistant[bot] commented 4 years ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.