Support Questions

Find answers, ask questions, and share your expertise

While doing knit -kt , i am getting output, key tab contains no suitable keys

avatar

@Vipin Rathor..Can you please help me with this. Really urgent !!

5 REPLIES 5

avatar

Any one in community, can you please suggest.

avatar
Master Mentor

@Veronica Angel

"Keytab contains no suitable keys" error message, usually indicates that either the keytab had no keys in it the mentioned Principal with a supported encryption type. We can find that out by running the following command and matching the encryption+principal.

klist  –kte  /PATH/TO/keytab

. - Also couple of things we need to double check like the JCE unlimited policy is installed.

- Realm name is all in UpperCase.

.

If nothing works then at last we might have to regenerate the keytabs.

avatar

Hi,

I have placed my keytab file in desktop. I ran the above command klist -kte <keytab file path>

Output is too wierd:

USage: Klist.exe [-1h <LogonId.HighPart>] ....and something.

Please suggest

avatar
Master Mentor

@Veronica Angel

For Windows the Klist command syntax is slightly different:

https://technet.microsoft.com/en-us/library/hh134826(v=ws.11).aspx

avatar

Hi All, I think my issue is not clear ...I am looking to get KErberos authentication on Windows box.

As mentioned in my last post, i am facing an error stating "Keytab contains no suitable Keys for Host/server @ REALM"

Please suggest.!!