elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.08k stars 24.84k forks source link

Windows Service installation and Security on by default #80598

Open jkakavas opened 3 years ago

jkakavas commented 3 years ago

Elasticsearch can be started as a service in windows. When this happens elasticsearch.bat is not used and auto-configuration doesn't run. In such cases authentication is enabled and users can use elasticsearch-reset-password -u elastic in order to get the password for the elastic user. TLS auto-configuration is not triggered so users would need to enable TLS manually and enrollment process doesnt' work for kibana or other nodes since it depends on the nodes being auto-configured for TLS .

We should investigate if it is possible to do the auto-configuration for TLS as part of the service installation

elasticmachine commented 3 years ago

Pinging @elastic/es-security (Team:Security)