我正在测试我得设备通过mqtt-sn上报数据,为了安全考虑增加了dtls中的psk安全验证,部署于docker容器中版本5.0 ,我基于说明文档对/etc/emqx.conf进行配置如下
node {
name = “emqx@127.0.0.1”
cookie = “emqxsecretcookie”
data_dir = “data”
}
cluster {
name = emqxcl
discovery_strategy = manual
}
dashboard {
listeners.http {
bind = 18083
}
}
#authorization {
#deny_action = ignore
#no_match = allow
#cache = { enable = true }
#}
psk_authentication {
enable = true
init_file = “/opt/emqx/data/certs/psk/psk.txt”
}
listeners.ssl.default {
acceptors = 4
bind = 1885
ssl_options {
versions = [“tlsv1.2”, “tlsv1.1”, “tlsv1”]
}
}
新增了psk_authentication 和listeners.ssl.default 但是似乎没有作用,请问我应该如何配置,或者是否有更详细的步骤说明谢谢!