Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch basic auth #759

Closed
afilimonov opened this issue Jun 5, 2019 · 5 comments
Closed

Elasticsearch basic auth #759

afilimonov opened this issue Jun 5, 2019 · 5 comments

Comments

@afilimonov
Copy link

Gentics Mesh Version, operating system, or hardware.

  • v0.30.5

Operating System

  • Linux

JVM

  • Provided by Gentics Mesh

Problem

Gentics Mesh cannot Connect to Elasticsearch with enabled security. 401 nonauthorized error.

Reproducer

Elasticsearch search Open Distro with basic auth enabled.

Expected behaviour and actual

Ability to configure/use basic auth credentials with elasticsearch. The credentials can be in the keystone or provided via secret/env variables (Kubernetes setup)

@Jotschi
Copy link
Contributor

Jotschi commented Jun 5, 2019

@afilimonov Is this related to the now free security features? I did not really follow up on this.

@afilimonov
Copy link
Author

afilimonov commented Jun 5, 2019

We use Open Distro provided by AWS. It includes security plugin which is a fork of Search Gard.

@mephinet
Copy link
Contributor

mephinet commented Jun 6, 2019

According to https://www.elastic.co/blog/security-for-elasticsearch-is-now-free, security ("file" and "native" realm) and encryption features are now part of the open source version of ElasticSearch, starting with versions 6.8 and 7.1.
Therefore, Mesh should support TLS communication with Mesh and support the "native" security realm.

@Jotschi Jotschi self-assigned this Jun 25, 2019
@Jotschi
Copy link
Contributor

Jotschi commented Jun 25, 2019

This first requires the elasticsearch client to be updated. PR is already in place: gentics/elasticsearch-java-client#4

@Jotschi
Copy link
Contributor

Jotschi commented Jul 3, 2019

Enhancement has been released with 0.36.2

@Jotschi Jotschi closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants