Closed lkovacs74 closed 3 years ago
Thanks for the post, which I edited slightly for layout. I wonder if Till Zimmerman might have a comment. @tillz?
This issue has been inactive for 60 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.
Hi Mike,
First of all I would like to thank you your and the other contributors work. This is an amazing stuff!
I have some problems with MQTT in secure environment. I think this is my fault, but I can't find the solution.
So, I have an Mosquitto mqtt server, which runs on Ubuntu 19.10. I secured (TLS 1.2, usarname and password are mandatory) my mosquitto server.
I generated the required certificates, modified the mosquitto configuration as described. All of my crt files are PEM encoded.
It works from shell fine:
The mqtt topic is updated immediately.
Now I tried to set up Shairport to use MQTT. I modified the conf:
When I start Shairport with
-vvv
option I got this:So I think Shairport trying to connect, but I never got the Connected message.
When I start to stream I got this messages:
So, in the reality Shairport not able to connect to my mqtt server. The Shairport and Mosquitto runs on the same box.
May I ask your help to find out what is wrong in my mqtt config?
Thanks, Laszlo