If I set a client certificate it works. This is how I expected it to work.
But I tried to use the SSLStream class in .Net 2.0 for another project and
if I try and connect using that it still connects even without specifying a
client certificate.
Does anyone know why the SSLStream class does not need a client certificate
but my application using the SSPI does? Is there a way I can get around the
request without have to specify a client certificate.
Thanks
Bob
To do this using SSPI, when you get the SEC_I_INCOMPLETE_CREDENTIALS error,
as I recall all you need to do is to call InitializeSecurityContext back
with the ISC_USE_SUPPLIED_CREDENTIALS flag. Assuming that the credential
handle you specify doesn't contain a client certificate, this tells the
schannel security package that you want to continue the handshake without
sending a client certificate.
Regards,
John
"Bob" <msg...@hotmail.com> wrote in message
news:%233t0iBc...@TK2MSFTNGP04.phx.gbl...
"John Banes" <jab...@comcast.remove.net> wrote in message
news:O%23JOnzuf...@TK2MSFTNGP03.phx.gbl...