下载WINDOWS版本ES8 解压缩后 使用第一次运行elasticSearch时 会自动进行安全配置
这事在控制台中可以看到有password
-> Elasticsearch security features have been automatically configured!
-> Authentication is enabled and cluster connections are encrypted.
-> Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`):
RGiwCn4abvxC4CYHNqvU
-> HTTP CA certificate SHA-256 fingerprint:
d19444a525f78eb2d2cc54dd176a5ba19d622d6f140e172c86efeaccdac3fd3b
-> Configure Kibana to use this cluster:
* Run Kibana and click the configuration link in the terminal when Kibana starts.
* Copy the following enrollment token and paste it into Kibana in your browser (valid for the next 30 minutes):
eyJ2ZXIiOiI4LjAuMCIsImFkciI6WyIxNzIuMTkuNTEuNjU6OTIwMCIsIjE5Mi4xNjguMzEuMTE6OTIwMCIsIjE5Mi4xNjguMTA2LjE6OTIwMCIsIjE5Mi4xNjguMjMuMTo5MjAwIl0sImZnciI6ImQxOTQ0NGE1MjVmNzhlYjJkMmNjNTRkZDE3NmE1YmExOWQ2MjJkNmYxNDBlMTcyYzg2ZWZlYWNjZGFjM2ZkM2IiLCJrZXkiOiJ6TGhPOTM0QlBfcEVPS3pnVl