Why is the default value of `xpack.security.http.ssl.enabled` in ElasticSearch's Docker Image set to `true`?

It's not (or at least, not exactly in those terms).

On startup, if you have not performed any security configuration, elasticsearch will auto configure security and write an updated elasticsearch.yml that turns on SSL for transport and http.

You can disable this by either:

  • setting xpack.security.autoconfiguration.enabled to false
  • configuring some part of security yourself (which can be as simple as setting xpack.security.enabled to true).
1 Like