SSL certificate for WCF service hosted on windows service?

For the client to trust the certificate the Subject name on the cert will have to match the DNS name of the machine on which the service is running - there really is no way round this. The idea is the client is able to verify they really are talking to the machine they think they are and someone hasn't directed them to a different machine by, say, poisoning the local DNS.

Up vote 0 down vote favorite share g+ share fb share tw.

My Application while installing will create and run a wcf service hosted on windows in the target machine. I have decided to use the service over HTTPS. I have tested it with self signed certificate.

But when it is deployed in a different machine, the name of the service will differ from the one which is in the certificate. How can I handle this situation? Moreover I am unaware of the PC name (which I could use for service end point) before the installation of the application in the deployment machine.

Windows wcf ssl service https link|improve this question asked Jan 26 at 15:41Dheena103.

For the client to trust the certificate the Subject name on the cert will have to match the DNS name of the machine on which the service is running - there really is no way round this. The idea is the client is able to verify they really are talking to the machine they think they are and someone hasn't directed them to a different machine by, say, poisoning the local DNS Only the client can decide to relax that restriction by loosening validation of the server certificate.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions