The specified principle is not known in the authentication system

陌路散爱 提交于 2019-12-11 19:28:46

问题


I have a C# client based on SSPI and Java server based on GSSAPI. The flow communication flow is as below.

  1. Client creates TGT
  2. Client passes TGT to server
  3. Server uses the TGT and generates server token
  4. Server passes the server token to client
  5. Client uses that server token and generates the SGT

My communication flow breaks from the 6th step.

SSPI client failed to validate the server token with the error "Failed to invoke InitializeSecurityContext for a client. The specified principle is not known in the authentication system."

Seems like the SPN use in Java side can not be recognized by the C# SSPI. According to this link there is a windows compatible SPN name format. My spn which is used in Java side is as below.

HTTP/myserver-domain.com@test.local where test.local is the realm name. Any suggestion would be a great help.

Thanks

来源:https://stackoverflow.com/questions/37958942/the-specified-principle-is-not-known-in-the-authentication-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!