Elastic security throwing "Authentication to realm default_native failed - Password authentication failed for <user>"

Hi Team,

I have es cluster with the below version

 |version||
   |---|---|
   |number|"7.8.1"|
   |build_flavor|"default"|
   |build_type|"rpm"|
   |build_hash|"b5ca9c58fb664ca8bf9e4057fc229b3396bf3a89"|
   |build_date|"2020-07-21T16:40:44.668009Z"|
   |build_snapshot|false|
   |lucene_version|"8.5.1"|
   |minimum_wire_compatibility_version|"6.8.0"|
   |minimum_index_compatibility_version|"6.0.0-beta1"|
   |tagline|"You Know, for Search"|

Enabled the security with the following properties

xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.key: config/certs/server.key
xpack.security.transport.ssl.certificate: config/certs/server.crt
xpack.security.transport.ssl.certificate_authorities: [ "config/certs/ca.crt" ]
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.key: config/certs/server.key
xpack.security.http.ssl.certificate: config/certs/server.crt
xpack.security.http.ssl.certificate_authorities: [ "config/certs/ca.crt" ]

Error

org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=security_exception, reason=unable to authenticate user [] for REST request [/t?master_timeout=30s&ignore_unavailable=false&expand_wildcards=open%2Cclosed&allow_no_indices=true&ignore_throttled=false&timeout=2m]]


[2021-01-28T06:12:02,947][WARN ][o.e.x.s.a.AuthenticationService] [app01infradep1.mcps.cxindustry02phx.oraclevcn.com] Authentication to realm default_native failed - Password authentication failed for oudp_idgraphbuilder```

what config I am missing here ?

Does that user exist? Can you use curl to talk to Elasticsearch with it with it's authentication details?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.