SslStream and makecert problems

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am attempting to use the new SslStream class in .NET 2.0 beta. I have read
the documentation available here:

http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=FDBK13657

And I created a test certificate using the following syntax:

makecert c:\cert.cer

Running my application generated an error, so I created a project, copied
the example from the documentation, and ran against the same certificate. I
get the same error in both applications on the ServerAuthenticate.

System.ComponentModel.Win32Exception: No credentials are available in the
securi
ty package
at System.Net.SSPIWrapper.AcquireCredentialsHandle...

I assume there is something wrong with my certificate, but I cannot figure
out what that would be.
 
Back
Top