如果仅指定 certificate_authorities 值,WinLogBeat 使用什么 ssl 证书和密钥?

What ssl certificate and key does WinLogBeat use if only the certificate_authorities value is specified?

我有一个 WinLogBeat 配置文件,其中包含以下 Logstash 输出部分:

output.logstash:
  # The Logstash hosts
  enabled: true
  hosts: ["host:5044"]
  ssl.enabled: true
  ssl.certificate_authorities: ["C:/Program Files/winlogbeat/cacert.cer"]
  

此配置似乎有效,因为我可以看到显示事件已成功发送的日志条目,但我无权访问 ELK 堆栈以查看服务器上的配置。

我已阅读文档,我能找到的所有内容都显示了配置文件,其中还设置了 SSL 证书和密钥值。我知道 certificate_authority 设置允许客户端信任由 CA 签名的证书,但我不明白客户端随后如何启动连接。

客户端在这种情况下使用了哪些 certificate/key 值?它们将在哪里指定?

如果未指定 certificate/key,则不使用客户端证书向服务器验证客户端。服务器证书用于加密连接,证书颁发机构用于验证该证书。