Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2025

ElasticRestClient Basic auth is not working when ssl is active

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: backend
    • Labels:
      None

      Description

      Given:

      • I have configured ssl and basic authentication for the elasticsearch connection

      When:

      • I start optimize

      Then:

      • it fails connecting to elasticsearch with a 401 due missing authentication header

      Expected:

      • Optimize connects successfully to elasticsearch providing basic auth credentials

      Note:
      This was not catched by the `connect-to-secured-es-tests` as the elasticsearch:6.2.0 image used there does not require basic auth when the ELASTIC_PASSWORD environment variable is provided. We need to use the elasticsearch-platinum:6.2.0 image for basic auth to be active.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: