With a secure broker connection it is possible to use a client certificate for authentication. If your MQTT broker supports MQTT version 5 you can set the protocol setting to 5. The MQTT protocol setting defaults to version 3.1.1. To allow a connection without the verification of the hostname, turn the Ignore broker certificate validation switch on. If the server certificate does not match the hostname then validation will fail. Click NEXT to show the control to upload the CA certificate. A custom PEM encoded CA-certificate can be uploaded. If a self-signed certificate is used, select Custom. This will allow validation against certifite CAs bundled certificates. If your broker uses a trusted certificate then choose Auto. To enable a secure the broker certificate should be validated. The keep alive setting should be minimal 15 seconds. The time in seconds between sending keep alive messages for this client. Leave this settings default if you want Home Assistant to generate a unique ID. You can set a custom MQTT client ID, this can help when debugging.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |