[Mono-dev] About System.Net.Security.SslStream

=?GB2312?B?s8LQ0Q==?= cxcxcxcx at gmail.com
Wed Nov 12 23:45:43 EST 2008

2008/11/11 Sebastien Pouliot <sebastien.pouliot at gmail.com>:
> This depends on which type of certificate file you're providing the
> X509Certificate ctor and the framework version you're using (I assume
> 2.9 since you're using SslStream).
> A typical .cer does not have a private key inside it so it wont work.
> Using a PKCS#12 file, containing a certificate and a private key, will
> work.
Thanks very much, SslStream works after I create a PKCS#12 file.

> Certainly in what sense ? you tried it ? Google a bit and you'll see
> that many people use Mono.Security.dll under Windows - the assembly is
> fully managed and will run everywhere.

Sorry, I mean running it without installing mono. I just think it will
be better for end users in Windows if they can run the program with
little 'addons' installed. SslStream does, thank you very much.


More information about the Mono-devel-list mailing list