我已经尝试将以下一些SO答案应用于ES服务器:
- 链接1
- 链接2
但是,我总是收到SSL证书身份验证错误。
curl: (60) SSL certificate problem: self-signed certificate in certificate chain
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
有解决办法吗?
如果您将ElasticSearch用于本地目的,并且不必担心安全问题,则可以禁用此处所述的安全设置。
例如,对于Linux,您可以使用";安全性";弹性搜索配置文件中从true
到false
的单词:elasticsearch-8.2.0/config/elasticsearch.yml
希望这能有所帮助!