MQTT over TLS

I have a weird issue with my home assistant instance and mqtt. My mosquitto broker runs locally on my Ubuntu 16.04 server. I can connect over non TLS mqtt to the broker without an issue, also the messages can be fetched and displayed in home assistant. But as soon as I switch to mqtt over TLS there are no values displayed anymore in home assistant. Although I can see in the log, that home assistant connects successfully to the mqtt broker.

I’ve already tried to set the tls_insecure attribute to true, but that doesn’t help either.

Any ideas what could cause that issue?

So, you are using a certificate or no?

Also, just for clarification, you have verified that items are being published successfully to the broker over TLS as well?

Yes, from let’s encrypt.

Sure, the messages are published. Looks like it’s more on the home assistant side. I’m using the broker for mqtt over tls for a wide range of use-cases and it works perfectly. Just home assistant has it’s problems.