📜  curl:(52)来自服务器弹性搜索的空回复 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:48.831000             🧑  作者: Mango

代码示例1
The problem is quite clear: we try to establish a secure connection without specifying the Elastic username and a key. For this there are two simple solutions, namely firstly bypassing the certificate locally (not recommended, but working):

curl -u elastic: https://localhost:9200 -k