When asking questions, please provide the following information:
-
Search Guard and Elasticsearch version-6
-
Installed and used enterprise modules, if any -kibana
-
JVM version and operating system version- 1.8
-
Search Guard configuration files
-
Elasticsearch log messages on debug level
-
Other installed Elasticsearch or Kibana plugins, if any
Can’t i use same certificate here , Appreciate if you could make me to understand below.
sg_roles_mappimg.yml
sg_all_access:
users:
- “CN=bdsys,O=X,L=xxx,ST=xx,C=x”
elasticsearch.yml
searchguard.authcz.admin_dn:
- “CN=bd-admin,O=X,L=xxx,ST=xx,C=x”
curl -k --cert bdsys:**** -sS -XGET ‘https://devxxxxx.com:xxx/_searchguard/authinfo’?pretty
{
“user” : “User [name=bdsys, roles=, requestedTenant=null]”,
“user_name” : “bdsys”,
“user_requested_tenant” : null,
“remote_address” : “xxxxx:56276”,
“backend_roles” : ,
“custom_attribute_names” : ,
“sg_roles” : [
“sg_all_access”,
“sg_own_index”
],
“sg_tenants” : {
“test_tenant_ro” : true,
“adm_tenant” : true,
“bdmsys” : true
},
“principal” : “CN=bdsys,O=xx,L=xxx,ST=xxx,C=xxx”,
“peer_certificates” : “2”
}