时间:2023-09-28 11:30
人气:
作者:admin
一、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抓包
