I have a WCF service that is using webHttpBinding on an endpoint, and the WCF service is hosted as a windows service. Is it possible to secure this at the transport level by using HTTPS or some other method?
Asked
Active
Viewed 6,352 times
2 Answers
7
Yes - you can use HTTPS or even an SSH tunnel if you wanted to.
Here is the MSDN page that explains how to configure WCF for HTTPS.

Andrew Hare
- 344,730
- 71
- 640
- 635
-
1Thanks. This is another link i found that might help for anyone else looking around: http://msdn.microsoft.com/en-us/library/ms733791.aspx# – Mike_G Mar 03 '09 at 16:33
0
I have not tried to do this with a Windows Service, but here is how I have successfully secured a WCF service using IIS and shared certificates. The biggest difference is that instead of being in the registry as a windows service it's a .svc file hosted up by ASP.net and your service implementation must have the AspNetCompatibilityEnabled attribute flagged to TRUE
see also:

Kitesaint1309
- 59
- 2
- 8

slf
- 22,595
- 11
- 77
- 101