简体   繁体   中英

How to establish secure communication over MQTT using PSK in Java?

I want to establish secure communication over mqtt using PSK. I explored a lot but everywhere they are using certificates.

A solution could be to put stunnel in front of your MQTT client.

stunnel would act as a reverse proxy for connections.

The config options would be PSKidentity and PSKsecrets .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM