Searchgurad admin user vs certificate

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.




  • “CN=bdsys,O=X,L=xxx,ST=xx,C=x”



  • “CN=bd-admin,O=X,L=xxx,ST=xx,C=x”

curl -k --cert bdsys:**** -sS -XGET ‘’?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_tenants” : {

“test_tenant_ro” : true,

“adm_tenant” : true,

“bdmsys” : true


“principal” : “CN=bdsys,O=xx,L=xxx,ST=xxx,C=xxx”,

“peer_certificates” : “2”


You can use the same certificate for sgadmin and curl

Hi Fabien
I was trying to give it less authorisation than the admin account not more :slight_smile:


On Mon., 6 Aug. 2018, 5:09 pm Fabien Wernli, wrote:

You can use the same certificate for sgadmin and curl

You received this message because you are subscribed to the Google Groups “Search Guard Community Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to

To post to this group, send email to

To view this discussion on the web visit

For more options, visit

what’s your question?