Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23060

ES Rest client support TLS and BasicAuth

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.3-SNAPSHOT
    • Fix Version/s: 9.3
    • Component/s: Elasticsearch
    • Release Notes Description:
      Hide

      The ElasticSearchClient Extension point can be configured to enable Basic Auth:

      <elasticSearchClient class="org.nuxeo.elasticsearch.clientESRestClientFactory">
        <option name="addressList">localhost:9300</option>
        <option name="username">jdoe</option>
        <option name="password">secret</option>
      </elasticSearchClient>
      

      and SSL using keystore.path and keystore.password options.

      Socket and connection timeout are also configurable with socket.timeout.ms and connection.timeout.ms.

      Show
      The ElasticSearchClient Extension point can be configured to enable Basic Auth: <elasticSearchClient class= "org.nuxeo.elasticsearch.clientESRestClientFactory" > <option name= "addressList" >localhost:9300</option> <option name= "username" >jdoe</option> <option name= "password" >secret</option> </elasticSearchClient> and SSL using keystore.path and keystore.password options. Socket and connection timeout are also configurable with socket.timeout.ms and connection.timeout.ms.
    • Sprint:
      nxcore 9.3.8
    • Story Points:
      3

      Description

      Make the necessary change to configuration and code so the rest client can connect to an ES cluster in https with basic auth (behind an nginx/apache)

      Also check if that work OOTB with amazon elasticsearch service or create new tickets.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours
                  1d 2h