Home All Groups Group Topic Archive Search About

SslStream caching and Vista:

Author
2 May 2007 7:33 PM
frandalc
Hi.


When my client program runs under XP and calls a server (solaris in
this case) via an SslStream all is well. The client may make multiple
calls and multiple authentication calls and be fine.


Running the client under Vista, when the second authentication call
is
made it returns the following SSPI error:


"A call to the SSPI failed, see inner exception"


which reads


"the Local Security Authority cannot be contacted"


Well that was pretty mystifying so I looked at what was going on with
ethereal. Apparently, on the second authentication go-round the
client
asks the server to re-use a session Id. The client responds and then
Vista rejects a re-used session Id (even though it asked to do that).


What I have found out is that the .net framework seems to cache
SslStream sessions automatically, I have not found any way to turn
this off for Vista - any ideas on how to do this?


Thanks


_Randal

AddThis Social Bookmark Button