[
https://issues.apache.org/jira/browse/UNOMI-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Risto closed UNOMI-477.
-----------------------
Resolution: Duplicate
> Docker image could not be configured to connect to Elastic Search when
> authorization is neede
> ---------------------------------------------------------------------------------------------
>
> Key: UNOMI-477
> URL: https://issues.apache.org/jira/browse/UNOMI-477
> Project: Apache Unomi
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0, 1.5.5
> Reporter: Risto
> Priority: Major
>
> I found that using the delivered container it is impossible to connect to
> elastic that needs authentication. Documentation says:
>
> 3.14.1. User authentication !
> If your ElasticSearch have been configured to be only accessible by
> authenticated users. Just edit
> etc/org.apache.unomi.persistence.elasticsearch.cfg to add the following
> settings:
> username=USER
> password=PASSWORD
>
> But this can not be done by setting environment variables. New environment
> variables like ELASTIC_USERNAME, ELASTIC_PASSWORD are needed. It should
> default to no password and no username as it does now.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)