I'm trying to create authenticated SslStreams, with a certificate created with OpenSSL (which is read from file). I can read the certificate without a problem from within C#. The problem is my code hangs whenever I call AuthenticateAsStream(). My question is, I'm creating (and signing) the x509 certificates myself. Will this cause problems with AuthenticateAsStream What exactly does AuthenticateAsServer do
Thanks,
Josh

SslStream and AuthenticateAsServer
RameshKandukuri
System.NotSupportedException was caught
Message="The server mode SSL must use a certificate with the associated private key."
Source="System"
StackTrace:
at System.Net.Security.SecureChannel.AcquireServerCredentials(Byte[]& thumbPrint)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
I can't find any documentation on this. Can anyone help I can post my certificate if needed.
Thanks,
Josh
Jamie Thomson
openssl pkcs12 -export -in newcert.pem -out IceTestCert.p12 -name "CertName" -inkey newkey.pem
The information is extracted from
http://www.towersoft.com/sdk/doku.php id=ice:setting_up_an_ice_server_to_use_ssl
gmaenrile
redshock
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=767044&SiteID=1
Prabagarane