ElasticSearch报错:received plaintext http traffic on an https channel
windows系统中ElasticSearch启动不了,提示:
received plaintext http traffic on an https channel
在https通道上接收到明文http通信,所以关闭连接了
介绍两种解决方法:
1、关闭 SSL 认证:
ES/config/elasticsearch.yml
文件中把
xpack.security.http.ssl:enabled
设置成 false
2、设置免密登录:
ES/config/elasticsearch.yml
文件中把
xpack.security.enabled
属性设置为 false
相关文章