emqx启动过程中报warning

错误报告

启动过程中报了下面的warning,麻烦问一下是代表什么意思,影不影响emqx的正常功能
2023-02-15T04:25:50.849236+00:00 [warning] Description: “Authenticity is not established by certificate path validation”, Reason: “Option {verify, verify_peer} and cacertfile/cacerts is missing”

环境

  • EMQX 版本:
  • 操作系统版本:

重现此问题的步骤

  1. xxx
  2. xxx
  3. xxx

预期行为

实际行为


功能请求

描述你需要的功能

为什么你需要这个功能


其他

你的 EMQX 版本是多少?我记得这是之前某个版本存在的问题,主要是 Erlang/OTP 加强了对校验对端证书的要求,如果设置了不校验,就会持续输出这个 Warning 日志。你升级一下 EMQX 版本应该就可以了。

版本已经是最新的5.0.17

看了下 OTP 版本升级后,这个问题又被引入了,你现在有用到哪些 TLS 连接?需要在 EMQX 这边把 verify 配置为 verify_peer。

我也遇到了,ExHook 启用 TLS,一直报这个错,导致exhook无法连接

版本:v5.0.8

[warning] Description: "Authenticity is not established by certificate path validation", Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
2023-02-20T17:44:09.595536+08:00 [error] Unexecpted stream event: {gun_response,<0.16982.875>,#Ref<0.2731541214.1143472131.15955>,fin,200,[{<<"date">>,<<"Mon, 20 Feb 2023 09:44:09 GMT">>},{<<"content-type">>,<<"application/grpc">>},{<<"content-length">>,<<"0">>},{<<"grpc-status">>,<<"14">>},{<<"grpc-message">>,<<"upstream connect error or disconnect/reset before headers. reset reason: protocol error">>},{<<"strict-transport-security">>,<<"max-age=15724800; includeSubDomains">>}]}, stream #{encoding => identity,hangs => [{{<0.2569.0>,#Ref<0.2731541214.1143472131.15957>},1676886279592}],mqueue => [],recvbuff => <<>>,sendbuff => [],sendbuff_last_flush_ts => 0,sendbuff_size => 0,st => {closed,idle}}