[Mono-dev] SSL Channel implementation and SslServerStream

pablosantosluac pablosantosluac at terra.es
Mon Dec 17 10:23:40 EST 2007


Hi all,

I'm implemented a secured TCP remoting channel. I took the current TCP 
Channel as starting point, and used Ssl{Client|Server}Stream to implement 
communication, as Robert Jordan suggested.

Well, it seems it works correctly but I've found the following issue: 
creating each new connection takes time (obviously), but it is basically due 
to a call to "new ServerContext" inside the SslServerStream constructor.

The problem, in fact, seems related with the property X509Certificate::RSA. 
Each time a new connection is opened, a new certificate is given, and the 
private key used.

Is there a way to actually make all this initialization just once? It would 
greatly improve performance both in Mono and .NET.

Any idea?

thanks

pablo 




More information about the Mono-devel-list mailing list