How can I disable authentication in Elasticsearch

I am running Elasticsearch 7.14.0 and want to disable authentication completely. I set this settings:

xpack.security.http.ssl.enabled: false
      xpack.security.transport.ssl.enabled: false
      xpack.security.enabled: false

but the error I got is:

 [spec.nodeSets[0].config.xpack.security.enabled: Forbidden: Configuration setting is reserved for internal use. User-configured use is unsupported, spec.nodeSets[0].config.xpack.security.http.ssl.enabled: Forbidden: Configuration setting is reserved for internal use. User-configured use is unsupported, spec.nodeSets[0].config.xpack.security.transport.ssl.enabled: Forbidden: Configuration setting is reserved for internal use. User-configured use is unsupported]

it doesn't allow me to update these settings. What should I do in order to disable authentication and ssl?

Two questions;

Are you sure about that version?

Why?

sorry I mean 7.14.0 which is the version.

My Elasticsearch is running inside VPC which is a private network. It is sitting behind ALB (application load balancer). The authentication is setup in ALB layer so that ES doesn't need any authentication.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.