I’m trying to configure latest alfa build of SG for ES 2.2.
I take all scripts and config from example folder, so I think there are minimum error possibylity.
So I have install SG plugin. Then run sgadmin tool to load initial configuration from default configs. I have also add next lines in EL config:
- C=DE, L=Test, O=client, OU=client, CN=admin
After that I was restart ES and try to load same configuration again. But have an error: no permissions for cluster:monitor/health.
After that I enable DEBUG logging in AS config, restart it and run sgadmin again to check ES logs. I find that:
[com.floragunn.searchguard.configuration.PrivilegesEvaluator] mapped roles: [sg_public].
After that I had try to add next few lines in sg_role_mapping.yml, remove SG, restart ES, install SG again, again load config with sgadmin.
Result is the same. What i’m doing wrong?