Skip to content

Example configuration for MQTT over SSL #340

Description

@delads

Everything works great when connecting to an MQTT broker over port 1883 but I cannot find any documentation or examples of how to configure values.yaml for SSL / port 8883. I tried a bunch of different configurations like the ones below but to no avail

"mqtt": {
"broker": "my-server.emqxsl.com:8883",
"client_id": "tesla-fleet-telemetry",
"username": "tesla-user",
"password": "my-password",
"topic_base": "tesla/telemetry",
"qos": 0,
"retained": false,
"connect_timeout_ms": 30000,
"publish_timeout_ms": 2500,
"disconnect_timeout_ms": 250,
"connect_retry_interval_ms": 10000,
"keep_alive_seconds": 30,
"tls": {
"enabled": true,
"ca": "/etc/mqtt-certs/emqxsl-ca.crt"
},
"tls-secret": {
"secretName": "mqtt-certs",
"key": "emqxsl-ca.crt"
}
}

Please advise if there is support for MQTT over port 8883 and if so, please provide examples on how to configure. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions