I'm hosting the service and creating the bindings at runtime.
Currently I get an error when my test client tries to connect "The underlying connection was closed: An unexpected error occurred on a send"
How do I tell ServiceHost which certificate to use for the https
Not sure if below is all I need for configuring the binding to use HTTPS:
string Address = https://10.3.10.10:10870/TestWS/;
ServiceHost MyHost = null;
MyHost = new ServiceHost(typeof(testdomain.net.test), new Uri(Address));
BasicHttpBinding binding = new BasicHttpBinding(BasicHttpSecurityMode.Transport);
binding.Security.Transport.ClientCredentialType = System.ServiceModel.Channels.HttpClientCredentialType.Certificate;
MyHost.AddServiceEndpoint(typeof(ITest), binding, Address);
Thanks for any info.

Winfx SelfHosted webservice over HTTPS
dwshowtime
Actually for a self-hosted app you're going to have to use httpcfg to set that up.
http://pluralsight.com/blogs/mgudgin/archive/2005/06/01/9694.aspx
Thanks!
Scott
technut
You can get it here:
http://www.microsoft.com/downloads/details.aspx FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en
Let me know if you have any success. I am trying to do the same thing.
Revoldo
Thanks Norge.
I was going this route to test https directly, because my IT guys where having issues transferring the request from the firewall/openssl server to my hosted http winfx service. I was getting 404 errors on request that had large parameter lists.
Anyway they where able to figure out the issue, so I still will like to do the https hosting at some point, but will have to come back to this.. Thanks for the link I downloaded and install the software.
ac.
Morious
Thanks Scott.
I searched my box for httpcfg and I don't have it. Do you know where I can get it
AC