elasticsearch证书过期
1.查看证书是否过期
curl -XGET -u elastic http://localhost:9200/_xpack/license?pretty
2.登陆https://register.elastic.co/
3.进入邮箱,下载证书并上传证书到es服务器
4.执行以下命令
curl -XPUT -u elastic http://localhost:9200/_xpack/license?acknowledge=true -H "Content-Type: application/json" -d @license.json curl -XPOST -u elastic http://localhost:9200/_license/start_basic?acknowledge=true