电子说
一、ssl/tls协议
二、mosquitto添加broker证书
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抓包
全部0条评论
快来发表一下你的评论吧 !