Hey there,
I’m trying my best to talk as better as I can english, so apologize for yours eyes…
i have tried to create a MQTT wm to use it with Hass.
I think i have done well :
. Creating VM
. Creating User and Password.
. Testing Communication ( using twice terminal )
. Creating a letsencrypt certifcate with certbot on duckdns
. Creating an autorenew
. At finish configuration i have had systemctl mosquitto status running without errors.
. Opening port on router 1884/8883/8083/1883
What i’m not sure :
I have created a configuration.yaml for the brocker :
I don’t know if it’s a problem to created two domain on one duckdns.
I have mydomain.duckdns.org
mydomainmqtt.duckdns.org
mqtt:
broker: mydomainmqtt.duckdns.org
port: "8883"
I have created an user ( not admin ), and a password.
logins:
- username: siegfrieds_mqtt
password: mystronguestpassword
anonymous: false
customize:
active: false
folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: true
And then when i’m going to integration.
I put mydomainmqtt.duckdns.org
port 8883
thenewuser created
and hispassword.
And it won’t works.
Thanks for reading, and help…
Have a good evening all :).