一、ssl/tls協議
二、mosquitto添加broker證書
MQTT協議端口號
listener 1883
protocol mqtt
訂閱主題持久化
persistence true
persistence_location D:softwaremosquittodata
開啟日志記錄
log_dest file D:softwaremosquittomosquitto.log
log_type all
開啟密碼驗證
password_file D:softwaremosquittopwfile.example
allow_anonymous false
#不需要對端提供證書
require_certificate false
#證書
cafile D:softwaremosquittocertsca.crt
certfile D:softwaremosquittocertsserver.crt
keyfile D:softwaremosquittocertsserver.key
三、wireshark抓包
-
RT-Thread
+關注
關注
32文章
1372瀏覽量
41556 -
SSL接口
+關注
關注
0文章
2瀏覽量
1095 -
Wireshark
+關注
關注
0文章
49瀏覽量
6722 -
TLS
+關注
關注
0文章
46瀏覽量
4488
發布評論請先 登錄
MQTT協議介紹之二:連接
MQTT協議介紹與移植筆記
MQTT協議的相關資料推薦
paho mqtt使用過tls組件出錯有什么解決方法嗎
請問有使用過MQTT TLS組件的嗎?
MQTT是什么 MQTT 協議的組織結構介紹
SSL\TLS協議是什么?

如何實現OPC DA Server和MQTT Broker之間的數據交互?

使用mosquitto搭建mqtt broker

MQTT和Modbus的物聯網網關協議區別分析

來了解一下MQTT Broker代理

知識科普 MQTT Broker 代理 是什么

評論