启动elasticsearch后无法访问localhost:9200页面,查看报错为http client did not trust this server’s certificate
解决方法:
找到配置文件elasticsearch.yml,将配置项
xpack.security.enabled: true
xpack.security.http.ssl:enabled: true
修改为
xpack.security.enabled: false
xpack.security.http.ssl:enabled: false