Hi,
Using the code example form this site:
http://msdn.microsoft.com/en-us/libr...y.sslstream.as
px
I have setup my Server and Client.
My Client connects, and on the server side when the following line is
executed:
sslStream.AuthenticateAsServer(serverCertificate);
I get this error:
The credentials supplied to the package were not recognized
I used the program makecert to generate my certificate with th following
arguments:
makecert -n "CN=Test and Dev Root Authority" -ss my -sr LocalMachine -sk
"Test.cer"
If I check mmc, the certificate is there. I then export it to a file
Can anyone help me out on this problem. I don't know too much about
generating certificates, but I suspect this is where my problem rather
than the code.
Thanks in advance,
Steven
*** Sent via Developersdex http://www.developersdex.com ***