Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95478

MQTT with SSL/TLS and a self-signed certificate

$
0
0

@fufs wrote:

Hi there,

I’m trying to setup a MQTT connection between Home Assistant and my MQTT broker over SSL/TLS. I’m using a self-signed certificate, I generated with OpenSSL 1.1.1d. I confirmed that my broker is setup correctly with a MQTT Dashboard app on my phone. Home Assistant cannot connect to it due to the self-signed certificate. I keep getting this error:

Failed to connect due to exception: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1076)

From the research I conducted I know that you can pass on verify=False in Python to omit that error. Is there any way I can set it up in configuration.yaml?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95478

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>