I figured it out what the cause of the issue is. In the keytab file that we use, we have 4 different key versions(KVNO) for the same host/****** (aes256-cts-hmac-sha1-96). I deleted the last two key versions so I have two key versions left. It seems to be that OpenSSH can handle 4 key versions with the same principal but apache mina has problems with that and authentication is failing.
-- View this message in context: http://apache-mina.10907.n7.nabble.com/Kerberos-key-not-found-but-the-key-exists-in-krb5-keytab-file-it-s-working-with-OpenSSH-but-not-with-tp43037p43055.html Sent from the Apache MINA User Forum mailing list archive at Nabble.com.
