I need to protect a WCF service that uses netTcpBinding and connects directly to a Windows Forms application. I need it to be fixed at the transport level.
I am sure that it works locally, i.e. I can start the service locally and connect to it with the client.
When I try to configure the service to work on the server, and not on my local computer, I have problems with certificates. The error log states that the certificate must have a private key capable of exchanging keys, and that the process must have access rights for the private key.
I am using a development certificate created with makecert.
makecert -n "CN=MY COMPANY DEBUG" -pe -sky exchange Debug.cer
I must admit that I am very new to using certificates. Does anyone have any guidance on how I can fix this, or a better way to use a certificate to add transport security to a WCF service using netTcpBinding?
Thanks.
source share