How to configure test certificate for SSL connection in .NET?

I would like to create an SSL connection for general TCP communication. I think I understood how to do this in code using the information here: http://msdn.microsoft.com/en-us/library/system.net.security.sslstream.aspx I am having problems creating a certificate, so I can check it out. I tried makecert.exe testCert and created a certificate, but apparently it does not have a private key associated with it. Therefore, I am looking for the simplest procedure for creating a certificate and connecting to work.

+5
source share
3 answers

I have not yet found an easy way to do this, but found this site useful several months ago.

O'Reilly Network Security Hacks ( Safari), , Hack # 45 .

+2

, apache, - Microsoft . .

+1

- pkcs12, openssl, X509Certificate2.CreateFromCertFile . . openssl cygwin Windows.

0

All Articles