I looked through old questions and stumbled about it. So, you have already specified the keys with cuticle. To ensure that the main file Kerberos key table file inside really works, you can run this command: kinit -k -t <key table file name> <SPN>.
For example, if you have the HTTP SPN / somehost.mydomain.com and the key table file name is myfilename.keytab, your command would be:
kinit -k -t myfilename.keytab HTTP/somehost.mydomain.com
This is a simple Kerberos test completely outside of Tomcat (which meets your requirement) and checks if DNS, AD, krb5.conf and keytab are configured correctly (including the principle inside).
source
share