Listen on http and https

Jun 29, 2013 at 9:39 PM
is it possible to configure a Wolfpack instance to listen on both a http and https port? I have an instance listening on port 80 now but would like to listen on 443 as well for some of my clients that only allow https outbound.
Jul 3, 2013 at 11:20 AM
Sorry for the slow reply!

Technically it's possible as its just WCF so all that is required is an additional binding - however in order to reduce configuration complexity I set up the bindings in code. You would need to find that code in the WCF publisher and add the new binding there. I don't have access to the codebase right now but if need a hand rebuilding the source I'll be able to help next week.


Jul 8, 2013 at 4:53 AM
Thanks for the reply, as always. Sorry for my delay!
Looks like the source I have must be for the v3 beta. Can you point me at the version I would need to get to modify the WCF publisher? Thanks!
Jul 8, 2013 at 12:53 PM
ok so from a command prompt you should be able to pull the v2.4 source with,

hg update 0187cc7cb839

... this should wind you back to the source that accompanies the binaries you are running.

In Wolfpack.Core/Wcf/WcfServiceActivity.cs there is a Start() method where you will find the first .AddServiceEndpoint() call (this adds basic http support) - you should be able to add another but listening on https. This SO post might provide some help with programmatic binding if you are new to it:

Gimme a shout if you have any problems getting it to work.