Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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

New Contributor

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

5 REPLIES 5

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

New Contributor

Any one in community, can you please suggest.

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

Super 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.

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

New Contributor

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

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

Super Mentor

@Veronica Angel

For Windows the Klist command syntax is slightly different:

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

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

New Contributor

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.!!