Mosquitto Secure MQTT connection

好久不见. 提交于 2019-12-08 07:29:12

问题


My Question is regarding TLS/SSL MQTT connection. I've installed moaquitto broker from this website.

http://www.eclipse.org/mosquitto/download/

and done with simple subscribe/publish using paho eclipse library in java. then I created X509 certificates using bouncycastle in java. but now I am stuck at server configurations regarding these certificates.I need to use different certificates for different topics on same broker. What I found is the following mosquitto-auth-plug.

https://github.com/jpmens/mosquitto-auth-plug

But here in mosquitto_auth_plugin we need to define backend databases holding username and password for authentication. How can we save certificates here? as I stated above I am creating X509 rootCA for server and X509 certificates for client.I am quit confused about it.

Is there any other/better way to acknowledge server regarding these certificates? Can this purpose be achieved using anyother broker like HiveMQ,ActiveMQ or RabbitMQ?

来源:https://stackoverflow.com/questions/37239255/mosquitto-secure-mqtt-connection

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!