exqx5.4如何配置ssl

node {
name = “emqx@127.0.0.1
cookie = “emqxsecretcookie2”
data_dir = “/var/lib/emqx”
ssl = on
ssl_optfile = ssl_dist.conf
}

启动时候,unknown_fields,unknown => “ssl,ssl_optfile”

是需要配置 listener 的,不是 node。你看看你 emqx 的配置文件目录有一些示例文件:

etc/examples/listeners.ssl.conf.example