Skip to content

Support bridge MQTT with TLS  #137

@duongxinh2003

Description

@duongxinh2003

Hi all, I want to bridge 2 brokers install on 2 devices through TLS. I will set up a bridge in device 1 and I change the setting in file emqx_bridge_mqtt.conf below:

bridge.mqtt.aws.address = <host>:8883
bridge.mqtt.aws.bridge_mode = true
bridge.mqtt.aws.ssl = on

After that, I comment on the certificate:

##bridge.mqtt.aws.cacertfile = <my_cacert_device1>.pem
##bridge.mqtt.aws.certfile = <my_client-cert_device1>.pem
##bridge.mqtt.aws.keyfile = <my_client-key_device1>.pem

Suprise, It runs normally without the certificates file above. I don't understand about setting up a bridge with TLS. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions