home-assistant.io/source/_docs/mqtt/certificate.markdown
Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

1.1 KiB

title, description, logo
title description logo
MQTT Certificate Instructions on how to setup MQTT with a certificate in Home Assistant. mqtt.png

Using certificates will give you an additional layer of security for your MQTT communication.

To integrate MQTT with certificate into Home Assistant, add the following section to your configuration.yaml file:

# Example configuration.yaml entry
mqtt:
  certificate: /home/paulus/dev/addtrustexternalcaroot.crt

{% configuration %} certificate: description: "'auto' or the certificate authority certificate file that is to be treated as trusted by this client. 'auto' uses the bundled certificates. If a file is specified the file should contain the root certificate of the certificate authority that signed your broker's certificate, but may contain multiple certificates. Example: /home/user/identrust-root.pem" required: false type: string client_key: description: Client key, e.g., /home/user/owntracks/cookie.key. required: false type: string client_cert: description: Client certificate, e.g., /home/user/owntracks/cookie.crt. required: false type: string {% endconfiguration %}