The sgctl tool instructs us to move the acceptor_principal and acceptor_keytab from elasticsearch.yml to sgconfig’s sg_authc.yml. However, there is no mention of the krb5_filepath option.
Should that stay in elasticsearch.yml or move too ?
You have two options:
- Either add
kerberos.krb5_config_file: /path/to/the/fileto thetype: kerberossection insg_authc.yml. The default is/etc/krb5.confso you do not specify it if your file is there. - Or, the kind of more standard Java way: Add
kerberos.use_system_propertiesinstead tosg_authc.ymland start each node with-Djava.security.krb5.conf=/path/to/the/file.