Using ES 6.8.6 and latest SG.
Using kerberos auth we noticed that the setting searchguard.kerberos.acceptor_principal seems to be ignored.
Here’s the symptom:
This is all nice and works. However, if we simply replace the keytab with another one from node02 which is identical except for the hostname, then the requests still get accepted, even without changing the acceptor principal to ...node02....
We are still having issues with the acceptor principal, now on 7.9.1.
The use-case is this : we have a CNAME pointing to a proxy node, which then does tcp haproxy load-balancing to the elasticsearch nodes. When using acceptor_principal: HTTP/proxy-node@OUR.REALM requests get refused. I haven’t been able to enable debug logs on the searchguard/elastic side, all instructions applied. But I can get client logs by enabling KRB5_TRACE, and they suggest the principal being requested is the DNS A record (as resolved by the CNAME), and not the searchguard.kerberos.acceptor_principal from the config.
on the client side (curl). In the meantime we switched to using the A record instead of the CNAME, and it works.
I didn’t keep the full trace, sorry, but I’ll do as soon as we test this on the dev cluster.