emqx-bridge-mqtt
emqx-bridge-mqtt copied to clipboard
Support bridge MQTT with TLS
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!