I have a C# client based on SSPI and Java server based on GSSAPI. The flow communication flow is as below.
- Client creates TGT
- Client passes TGT to server
- Server uses the TGT and generates server token
- Server passes the server token to client
- 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