Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support bridge MQTT with TLS #137

Open
duongxinh2003 opened this issue Jan 12, 2022 · 0 comments
Open

Support bridge MQTT with TLS #137

duongxinh2003 opened this issue Jan 12, 2022 · 0 comments

Comments

@duongxinh2003
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant