[Mono-dev] Using SslStream
joaopaulo at ros.bz
Thu May 19 10:12:07 EDT 2011
Sorry for revive this thread, but I'm having the same problem.
I'm using CentOS with mono 2.10.2 as server and Windows XP as client.
> Socket socket = tcp.AcceptSocket();
> X509Certificate certificado =
> ns = new SslStream(new NetworkStream(socket));
When the service is going Authenticate it throws the same exception of
> System.IO.IOException: The authentication or
> decryption has failed. --->
> > Mono.Security.Protocol.Tls.TlsException: Server
> certificate Private Key
I created a certificate by Apple KeyChain but didn't work, after read a lot,
I created a certificate by Mono makecert and I added the certificate to mono
certmgr trust store, but didn't work too.
I don't know what can I do to solve my problem.
Thanks in advance,
João Paulo Ros
View this message in context: http://mono.1490590.n4.nabble.com/Using-SslStream-tp1745666p3535805.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list