SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы

Список вопросов Печать

opensearch: securityadmin.sh: ERR: "CN=admin" is not an admin user


Метки: opensearch 

$ docker-compose exec opensearch01 plugins/opensearch-security/tools/securityadmin.sh -cd config -icl -nhnv -cacert config/ca.crt -cert config/admin.crt -
key config/admin.key
**************************************************************************
** This tool will be deprecated in the next major release of OpenSearch **
** https://github.com/opensearch-project/security/issues/1755           **
**************************************************************************
Security Admin v7
Will connect to localhost:9200 ... done
Connected as "CN=admin"
ERR: "CN=admin" is not an admin user
Seems you use a client certificate but this one is not registered as admin_dn
Make sure opensearch.yml on all nodes contains:
plugins.security.authcz.admin_dn:
  - ""CN=admin""

Ответы

RemiZOffAlex  Создано: 2023-08-24 06:43:58.306552  Обновлено: 2023-08-24 06:43:58.306564

opensearch.yml

plugins.security.authcz.admin_dn:
- "CN=admin"

Возможно будут интересны и другие вопросы