ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 530 forks source link

Develop #494

Closed oyegorov closed 4 years ago

oyegorov commented 4 years ago

PR Details

The suggested change adds support for client authentication against ElasticSearch

Description

X-Pack or SearchGuard can be configured to demand client certificate for authentication of ElasticSearch API clients. The suggested change would be to support two new application.py command-line parameters, --client_cert and --client-key. They are file paths of public key certificate (PEM) and key files. The change is trivial as the underlying implementation (vendor/ElasticSearch) already supports it, the parameters simply need to be passed downstream.