一、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文章
1540浏览量
44252 -
SSL接口
+关注
关注
0文章
2浏览量
1162 -
Wireshark
+关注
关注
0文章
49浏览量
6923 -
TLS
+关注
关注
0文章
54浏览量
4869
发布评论请先 登录
MQTT协议介绍之二:连接
MQTT协议介绍与移植笔记
MQTT协议的相关资料推荐
paho mqtt使用过tls组件出错有什么解决方法吗
请问有使用过MQTT TLS组件的吗?
全志T3+Logos FPGA开发板——MQTT通信协议案例
MQTT是什么 MQTT 协议的组织结构介绍
如何实现OPC DA Server和MQTT Broker之间的数据交互?
使用mosquitto搭建mqtt broker
MQTT和Modbus的物联网网关协议区别分析
来了解一下MQTT Broker代理
知识科普 MQTT Broker 代理 是什么

基于tls协议的mqtt broker介绍
评论