SslStream and makecert problems

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top