ssl server/client certificate error

  • Thread starter Thread starter Enterprise Library msi not found
  • Start date Start date
E

Enterprise Library msi not found

Guest
Hi I am trying to follow though with Ssl server\client app . I tried to use a certificate provided by the company authorities to be used in their applications. My application is ssl server and client running in two instances of visual studio 2010. I exported the company's certificate to path and supplied it to the server app to create the certificate.

serverCertificate = X509Certificate2.CreateFromCertFile(path);

The app builds and runs the server runs and listens for clients on port 8080. I set up the client app to connect to localhost on port 8080. I provide the same certificate file to the client. When the client connects to server an error is generated saying :The server mode SSL must use a certificate with the associated private key. So to avoid the problem of working with a certificate I do not know well I tried to instead create my own certificate. I created one in IIS but I do not know how to use it in my application. So my first question is how to use the certificate i created in IIS in secure tcp connection scenario. I also tried to create certificate with power shell but ran into problems. I tried to install windows sdk to be able to use makecert tool to create certificate but after installing windows sdk I cannot find that command. So please advice me the best route to go to experiment with this ssl app.

Continue reading...
 
Back
Top